Commit Graph

77 Commits

Author SHA1 Message Date
Mark Thom
32c8a5e55f index inlined and builtin clausetypes inside a BTreeMap 2019-03-26 21:59:50 -06:00
Mark Thom
33b581effc enable an option to disable readline 2019-03-21 19:46:42 -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
4a7cd50e4b use new readline crate 2019-03-17 14:50:57 -06:00
Mark Thom
2fad1c724c use the readline library at toplevel 2019-03-16 19:12:06 -06:00
Mark Thom
3d8c0a43a6 refactor to actual modules 2019-03-03 23:29:02 -07:00
Mark Thom
046569b6a9 flatten CompiledQuery and CompiledFact in Code, remove CompiledQuery 2019-02-06 22:25:41 -07:00
Mark Thom
c5fbff505b expand goals in queries and queues 2019-02-01 23:36:51 -07:00
Mark Thom
908972eff1 incorporate term_expansion phase in compilation 2018-09-18 22:44:03 -06:00
Mark Thom
fbf16e2aea provisional changes to module insertion 2018-09-12 20:46:15 -06:00
Mark Thom
3f06ff874b make use of read_term in the repl 2018-09-10 00:18:17 -06: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
073a8888f3 include builtins implicitly in every module. 2018-07-04 23:25:55 -06:00
Mark Thom
06d896277c major refactor 2018-05-15 22:47:36 -06:00
Mark Thom
7455c2e9db add support for callable if-then and disjunct 2018-05-12 00:30:34 -06:00
Mark Thom
ba7e7ac895 throw exception when call-ing a system instruction. 2018-05-10 23:08:56 -06:00
Mark Thom
954c29b103 add catch/throw support, make exceptions and arithmetic tests pass. 2018-05-10 01:43:36 -06:00
Mark Thom
b09c20670b shift to builtins 2018-05-08 22:38:49 -06:00
Mark Thom
ff6e58e987 update/extension to lexer, bug fixes to module importing 2018-04-13 18:44:23 -06:00
Mark Thom
7500465b38 add atom predicate. 2018-03-10 15:26:35 -07:00
Mark Thom
179e425fb6 add queues, fix debray allocator bug. 2018-03-08 00:29:56 -07:00
Mark Thom
ab182b6e3b add error messages on failed batch entry 2018-03-07 17:19:28 -07:00
Mark Thom
0c66743db5 correct module bugs 2018-03-04 21:35:30 -07:00
Mark Thom
8a63623516 add provisional module support. 2018-03-02 22:28:12 -07:00
Mark Thom
5de03444eb fix bugs in call_with_inference_limit 2018-02-21 19:46:15 -07:00
Mark Thom
f1ac75f21d add (\=)/2. 2018-02-14 23:21:56 -07:00
Mark Thom
1bf9c0d205 defer cut actions to cut policy trait objects. 2018-02-06 23:41:31 -07:00
Mark Thom
2628e27595 add batch processing. 2018-01-30 00:59:42 -07:00
Mark Thom
9ce6403244 prepare for batch processing 2018-01-29 22:07:56 -07:00
Mark Thom
73714e8aa2 prepare for batch processing. 2018-01-29 22:04:51 -07:00
Mark Thom
41dc8e8d6a inline and expand conditionals whenever possible 2018-01-23 21:01:53 -07:00
Mark Thom
d8be7b5b49 add an atom table. 2018-01-16 23:26:59 -07:00
Mark Thom
38cd9e5db7 expand remaining tests. 2018-01-16 19:53:49 -07:00
Mark Thom
f59763da67 start adding output checks to test 2018-01-15 23:42:09 -07:00
Mark Thom
b2b4ce6877 print ops properly. 2018-01-14 20:46:03 -07:00
Mark Thom
37f4450c34 bug fixes on LCO, backtracking. 2017-12-10 01:24:23 -07:00
Mark Thom
e8a9da0dca add bitwise and modular operations. 2017-12-03 14:15:01 -07:00
Mark Thom
9a7419c507 add support for rational numbers, division. 2017-12-02 11:10:25 -07:00
Mark Thom
5568d0b370 add provisions for arithmetic support. 2017-11-05 17:12:30 -07:00
Mark Thom
92de7acd22 transition to the operator precedence parser. 2017-09-06 00:36:14 -06:00
Mark Thom
cc82447c64 bug fixes. 2017-08-15 11:06:19 -06:00
Mark Thom
1d2c02e9af adjust for nested throws. 2017-08-14 22:49:41 -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
28018c0d43 add tests, remove extraneous instructions. 2017-08-03 11:28:15 -06:00
Mark Thom
0050c1d4cb add tests. 2017-08-03 11:22:52 -06:00
Mark Thom
409d79719d fix faulty chunking on call/N. 2017-08-03 10:55:43 -06:00
Mark Thom
3aa8780086 fix recursive calls to call/N 2017-07-28 17:02:08 -06:00