Commit Graph

716 Commits

Author SHA1 Message Date
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
a97e8a4b5c update version number 2019-03-31 11:36:42 -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
5a30c7b9be Merge branch 'master' of https://github.com/mthom/rusty-wam
Merge with downcast update.
2019-03-29 22:50:43 -06:00
Mark Thom
b45c591c89 update writer 2019-03-29 22:49:33 -06:00
Mark Thom
f766e9f1b0 Merge pull request #70 from XVilka/patch-1
Update downcast dependency
2019-03-29 09:12:26 -03:00
Anton Kochkov
5b36230df7 Update downcast dependency
It wasn't able to compile with latest Rust 1.33
2019-03-29 16:37:56 +08: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
44f762a4f0 update readline.rs crate 2019-03-24 17:17:54 -06:00
Mark Thom
0a78ddcd0b update version number 2019-03-24 15:26:51 -06:00
Mark Thom
7ff7edee59 bracket RHS when necessary in variable equations 2019-03-24 15:26:32 -06:00
Mark Thom
3ad1b86286 use updated readline 2019-03-24 13:18:28 -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
0351936a58 update version number 2019-03-23 09:43:26 -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
cd683c7f3d update readline instructions in README, dependence on readline_rs_compat with new library search paths 2019-03-17 19:22:36 -06:00
Mark Thom
9471a07ffa use readline with better build support 2019-03-17 18:42:26 -06:00
Mark Thom
179bede1db update version and README 2019-03-17 18:11:08 -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
4cefd35eb4 add rename-dependencies to Cargo manifest 2019-03-17 15:25:55 -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
a85fd5efa5 use concrete version number for readline-rs 2019-03-17 14:51:55 -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
bc0f0719fb update README 2019-03-13 09:29:28 -06:00
Mark Thom
0eb2fb3d90 add non-backtrackable and backtrackable global variables 2019-03-13 00:16:57 -06:00
Mark Thom
f0f8bfb569 update build instructions, change to the scryer-prolog crate 2019-03-13 00:00:24 -06:00