Commit Graph

2468 Commits

Author SHA1 Message Date
Mark Thom
cf6a47272a inline comparison instructions. 2017-12-04 21:01:23 -07:00
Mark Thom
8e5aaf02a4 update README, toplevel parsing for comparison operators. 2017-12-04 10:18:29 -07:00
Mark Thom
7b569becbe add support for comparison operators. 2017-12-03 17:44:51 -07:00
Mark Thom
db38f091a8 coerce rationals to floats before coercing floats to rationals. 2017-12-03 15:16:40 -07:00
Mark Thom
e8a9da0dca add bitwise and modular operations. 2017-12-03 14:15:01 -07:00
Mark Thom
c4cb3574ba extend false cases for is 2017-12-02 14:28:27 -07:00
Mark Thom
9a7419c507 add support for rational numbers, division. 2017-12-02 11:10:25 -07:00
Mark Thom
a65adf960e , 2017-11-16 13:44:44 -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
b1ae09d7aa add register marking for non-callable/inlined predicates. 2017-11-12 23:43:42 -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
498389e9e9 remove QueryTermRef from Allocator 2017-11-11 17:00:10 -07:00
Mark Thom
e503e312a1 reuse defunct AND stack frames. 2017-11-11 16:01:29 -07:00
Mark Thom
d6086390e0 remove Div for ast.rs 2017-11-08 22:57:40 -07:00
Mark Thom
41d99938e7 fix arithmetic bugs. 2017-11-06 22:01:54 -07:00
Mark Thom
4624508fc1 clean up atomic and var code. 2017-11-06 20:22:15 -07:00
Mark Thom
2225674b58 pass binding info to arithmetic evaluator 2017-11-06 13:35:48 -07:00
Mark Thom
4cc3409809 instantiated vars in arithmetic exprs 2017-11-06 10:45:27 -07:00
Mark Thom
5568d0b370 add provisions for arithmetic support. 2017-11-05 17:12:30 -07:00
Mark Thom
a70c100e0d proceed is a jump instruction 2017-11-04 10:23:58 -06:00
Mark Thom
d6af02f8c6 add proceed to close out inlined atomic and var 2017-11-03 22:23:04 -06:00
Mark Thom
e78ffaabd8 record places after inline instrs 2017-11-03 21:08:10 -06:00
Mark Thom
28069a301e inline atomic and var 2017-11-03 20:44:35 -06:00
Mark Thom
57cc8ccac9 inline atomic and var. 2017-11-03 20:41:01 -06:00
Mark Thom
2abec91360 fix incorrect handling of terminal cuts. 2017-11-02 15:29:31 -06:00
Mark Thom
e4e9b09175 fix indexing bug on anonvars. 2017-09-16 15:25:11 -06:00
Mark Thom
e1644dcbb6 update parser. 2017-09-10 21:17:56 -06:00
Mark Thom
d9340344ff finalize operator support. 2017-09-06 18:11:43 -06:00
Mark Thom
92de7acd22 transition to the operator precedence parser. 2017-09-06 00:36:14 -06:00
Mark Thom
502f498114 add exception error prelude. 2017-08-18 12:44:04 -06:00
Mark Thom
02c0f1cf56 add top level exception reporting, exceptions for call/N. 2017-08-17 18:20:58 -06:00
Mark Thom
803c66c917 change ; over to SPACE 2017-08-15 14:15:28 -06:00
Mark Thom
e944641d56 remove finished TODO 2017-08-15 12:11:58 -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
aa3bee5db9 remove diagnostic message 2017-08-14 13:26:34 -06:00
Mark Thom
8d7d215234 add tests, update status. 2017-08-14 13:21:45 -06:00
Mark Thom
a3fbf1bc73 generalize has_null_ball 2017-08-14 10:11:17 -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
198eca678c tweak codegen 2017-08-05 10:15:40 -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
83899b7273 remove print_code calls 2017-08-03 10:56:51 -06:00
Mark Thom
409d79719d fix faulty chunking on call/N. 2017-08-03 10:55:43 -06:00
Mark Thom
315c748c31 clean up support for recursive calls, add support for (and protection of) built-in predicates. 2017-08-02 17:38:12 -06:00
Mark Thom
3aa8780086 fix recursive calls to call/N 2017-07-28 17:02:08 -06:00
Mark Thom
8a99b6d3bc add support for embedded calls (syntax) 2017-06-25 15:39:00 -06:00