Commit Graph

642 Commits

Author SHA1 Message Date
Mark Thom
7a497fd4e1 correct bad atom_length/2, atom_chars/2 error reporting 2019-04-06 00:13:52 -06:00
Mark Thom
e3e6f926c7 add atom_length/2, atom_chars/2, atom_codes/2 2019-04-05 23:00:53 -06:00
Mark Thom
272b4f6d8d add current_op/3 2019-04-05 21:25:49 -06:00
Mark Thom
03f2190d6b remove $reify_switch 2019-04-05 09:04:05 -06:00
Mark Thom
3912a4772d fix conformity errors 2019-04-04 22:51:00 -06:00
Mark Thom
546aeea479 move forall/2 to non_iso, correct test cases. 2019-04-03 18:13:05 -06:00
Mark Thom
535a6c17e9 move forall/2 to non_iso, correct test cases. 2019-04-03 18:12:36 -06:00
Paulo Moura
785d8d28e3 add de facto standard forall/2 predicate as a built-in predicate 2019-04-03 11:58:29 +01:00
Mark Thom
98f9027b2e pass more conformity tests 2019-04-01 23:08:03 -06:00
Mark Thom
b6a5254e35 re: #80, #52 2019-04-01 22:05:30 -06:00
Mark Thom
e3e0473b69 fix term_variables, add (^)/2 as an actual evaluable functor 2019-04-01 09:04:50 -06:00
Mark Thom
2240418a25 re: #75, #52 2019-03-31 22:30:42 -06:00
Mark Thom
df5e538dc6 add structural tests for strings as char code lists 2019-03-31 20:11:20 -06:00
Mark Thom
a15ebd20c1 add support for char codes 2019-03-31 19:48:40 -06:00
Mark Thom
701cbc7a19 do a better job recognizing and bracketing operators 2019-03-31 11:35:19 -06:00
Mark Thom
252873694b clean up heap_print.rs 2019-03-31 02:17:50 -06:00
Mark Thom
a2f531eeb7 correct comma printing 2019-03-31 02:13:58 -06:00
Mark Thom
35e91ee47c make op/3 a predicate call from the query context 2019-03-31 00:29:53 -06:00
Mark Thom
3e67400bd3 specially handle commas 2019-03-30 21:31:57 -06:00
Mark Thom
0aefcf7eae add op/3 to builtin predicates 2019-03-30 18:14:47 -06:00
Mark Thom
f55968b1b8 properly demarcate ops in dbrefs 2019-03-30 13:38:03 -06:00
Mark Thom
352ebd1706 re: #73 2019-03-30 12:38:26 -06:00
Mark Thom
8945bae70b use can_be(list, _) in all solutions predicates 2019-03-30 10:44:49 -06:00
Mark Thom
b45c591c89 update writer 2019-03-29 22:49:33 -06:00
Mark Thom
3aeebbe6d6 pass more conformity tests 2019-03-29 00:14:03 -06:00
Mark Thom
381ad12104 add db refs 2019-03-27 23:00:59 -06:00
Mark Thom
e7bc01369a make current_predicate/1 more general, re: #66 2019-03-27 21:13:36 -06:00
Mark Thom
32c8a5e55f index inlined and builtin clausetypes inside a BTreeMap 2019-03-26 21:59:50 -06:00
Mark Thom
7ff7edee59 bracket RHS when necessary in variable equations 2019-03-24 15:26:32 -06:00
Mark Thom
155c54c99d fix toplevel heap view 2019-03-24 10:10:43 -06:00
Mark Thom
ca5138ccea fix toplevel heap view 2019-03-24 09:55:20 -06:00
Mark Thom
eecfcafef6 update tests 2019-03-24 09:33:12 -06:00
Mark Thom
12fac66431 do a better job of printing integral floats. 2019-03-24 09:30:20 -06:00
Mark Thom
11198fdb31 print attribute goals alongside variable bindings as a single, unified goals 2019-03-24 00:26:29 -06:00
Mark Thom
0b79ae0524 do not print unbound vars at toplevel 2019-03-23 09:43:05 -06:00
Mark Thom
380375228b allow toplevel answers to be passed back as queries 2019-03-22 10:00:07 -06:00
Mark Thom
33b581effc enable an option to disable readline 2019-03-21 19:46:42 -06:00
Mark Thom
4b2fb8b1c7 fail if attempting dynamic transaction in term and goal expansion 2019-03-19 21:03:37 -06:00
Mark Thom
55a251d1c4 correct register threshold calculation. 2019-03-17 21:45:30 -06:00
Mark Thom
c7ebd59b4a set rl_startup_hook only once 2019-03-17 18:09:48 -06:00
Mark Thom
fd703c3610 make toplevel more consistent with answers, depend on readline package without renaming. 2019-03-17 17:49:51 -06:00
Mark Thom
840b98dcf3 update readline.rs version 2019-03-17 15:22:31 -06:00
Mark Thom
2927387a66 use the updated readline.rs 2019-03-17 15:01:10 -06:00
Mark Thom
4a7cd50e4b use new readline crate 2019-03-17 14:50:57 -06:00
Mark Thom
1ce8d90627 add halt/0 2019-03-17 14:38:55 -06:00
Mark Thom
2fad1c724c use the readline library at toplevel 2019-03-16 19:12:06 -06:00
Mark Thom
0eb2fb3d90 add non-backtrackable and backtrackable global variables 2019-03-13 00:16:57 -06:00
Mark Thom
d81268a181 clean up bb_put/2 a bit 2019-03-12 22:57:02 -06:00
Mark Thom
527ac606e9 bb_put/2 and bb_get/2 2019-03-12 22:38:47 -06:00
Mark Thom
b5ad8051d8 use ordsets in library(dif) 2019-03-12 19:13:03 -06:00