Commit Graph

57 Commits

Author SHA1 Message Date
Yu Ding
adb469f627 Upgrade to edition. Bump up edition in Cargo.toml 2019-10-14 00:23:32 -07:00
Yu Ding
9b789629c9 Fix some old Rust codes
Done by cargo fix using nightly-2019-10-04 toolchain. Fixed ... to ..=, trait object to dyn trait object
2019-10-09 14:56:50 -07:00
Mark Thom
b61ed65208 fix goal expansion in disjunctions, add warnings for singleton variables 2019-10-03 22:13:34 -06:00
Atul Bhosale
1273e2d52d Format code using 'cargo fmt' 2019-09-23 19:35:37 +07:00
Mark Thom
3912a4772d fix conformity errors 2019-04-04 22:51:00 -06:00
Mark Thom
3d8c0a43a6 refactor to actual modules 2019-03-03 23:29:02 -07:00
Mark Thom
33d1a7c701 add structural tests for partial strings, rename ast.rs 2018-09-04 21:20:45 -06:00
Mark Thom
ff9d2662e6 farm parser out to a crate, remove it as a git submodule. 2018-09-03 21:58:07 -06:00
Mark Thom
abcb53699a finalize support for partial strings 2018-09-02 23:32:51 -06:00
Mark Thom
c1ad5cd33f get rid of dynamic lookup for
$call_with_default_policy.
2018-08-12 23:14:28 -06:00
Mark Thom
7016d378d6 add call_with_inference_limit/3 2018-08-08 00:42:57 -06:00
Mark Thom
38dcd6113e preliminary read support 2018-07-25 17:12:07 -06:00
Mark Thom
06d896277c major refactor 2018-05-15 22:47:36 -06:00
Mark Thom
bae107f8cd eliminate need for embedded, handwritten WAM code. 2018-05-09 22:58:23 -06:00
Mark Thom
d6c148d5e9 fix cut expansions. 2018-04-07 16:44:51 -06:00
Mark Thom
5d0674a667 incomplete cut corrections. 2018-04-07 00:15:34 -06:00
Mark Thom
8a63623516 add provisional module support. 2018-03-02 22:28:12 -07:00
Mark Thom
7906982d4d clean up compile_seq. 2018-02-26 17:12:06 -07:00
Mark Thom
cf9db43d5b major refactor. 2018-02-25 12:13:07 -07:00
Mark Thom
9aac3cb086 add compare predicate. 2018-02-21 23:21:18 -07:00
Mark Thom
7313472a70 add call_with_inference_limit 2018-02-19 22:34:56 -07:00
Mark Thom
ae323a0cdf add term comparison operators. 2018-02-13 23:34:44 -07:00
Mark Thom
e7560150b0 add eq, neq predicates. 2018-02-10 23:34:30 -07:00
Mark Thom
9c1b48865b add ground/1. 2018-02-08 23:51:05 -07:00
Mark Thom
df3e8b8fce minor cleanup. 2018-02-08 18:29:45 -07:00
Mark Thom
9d5f897fed add more type predicates. 2018-02-05 20:10:41 -07:00
Mark Thom
7b5a2786da add support for setup_call_cleanup 2018-02-01 23:03:57 -07:00
Mark Thom
700f031cd9 remove indirection in jmp instructions 2018-01-25 09:10:30 -07:00
Mark Thom
41dc8e8d6a inline and expand conditionals whenever possible 2018-01-23 21:01:53 -07:00
Mark Thom
677beedec3 update tests to properly reflect answer order. 2018-01-20 15:08:55 -07:00
Mark Thom
1b402b2673 clean up arithmetic.rs 2018-01-18 19:54:15 -07:00
Mark Thom
d8be7b5b49 add an atom table. 2018-01-16 23:26:59 -07:00
Mark Thom
a4022d569f fix duplicate_term bug 2018-01-14 23:05:15 -07:00
Mark Thom
08b94dcdf5 add display predicate 2018-01-14 22:11:02 -07:00
Mark Thom
58ba368280 mark structures with their fixity 2018-01-14 21:48:10 -07:00
Mark Thom
c513bbeafa another big refactor 2018-01-11 20:56:04 -07:00
Mark Thom
d49157bef6 add provisional functor and arg support, and give ';' and '->' their true semantics 2018-01-08 21:14:19 -07:00
Mark Thom
cf6a47272a inline comparison instructions. 2017-12-04 21:01:23 -07:00
Mark Thom
7b569becbe add support for comparison operators. 2017-12-03 17:44:51 -07:00
Mark Thom
4a51496981 remove is from inlined terms. 2017-11-13 13:35:34 -07:00
Mark Thom
ded701436a separate handling of inlined query terms. 2017-11-13 13:18:05 -07:00
Mark Thom
e0f2ca80b5 simply post order iterators. 2017-11-12 01:36:19 -07:00
Mark Thom
e5a235cf80 eliminate QueryTermRef. 2017-11-11 18:57:23 -07:00
Mark Thom
1f19d5de95 get rid of chunked iterators for facts. 2017-11-11 17:32:46 -07:00
Mark Thom
5568d0b370 add provisions for arithmetic support. 2017-11-05 17:12:30 -07:00
Mark Thom
57cc8ccac9 inline atomic and var. 2017-11-03 20:41:01 -06:00
Mark Thom
92de7acd22 transition to the operator precedence parser. 2017-09-06 00:36:14 -06:00
Mark Thom
8d7d215234 add tests, update status. 2017-08-14 13:21:45 -06:00
Mark Thom
a06d99a313 cleanup code generation, add throw/catch, copy_term, var, atomic, not, false builtins 2017-08-13 23:53:01 -06:00
Mark Thom
409d79719d fix faulty chunking on call/N. 2017-08-03 10:55:43 -06:00