Commit Graph

64 Commits

Author SHA1 Message Date
Mark Thom
60440ea86b tighten =.. code 2018-01-27 15:54:05 -07:00
Mark Thom
4f645b4664 add length, =.., more tests of builtins. 2018-01-27 15:37:59 -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
f28b975343 add call support for numeric comparisons. 2018-01-19 19:39:46 -07:00
Mark Thom
f9b53856ac add callable is/2 2018-01-19 00: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
b2b4ce6877 print ops properly. 2018-01-14 20:46:03 -07:00
Mark Thom
0fb64f412e refactor heapview 2018-01-13 21:50:47 -07:00
Mark Thom
20972f18c2 update token type 2018-01-12 22:26:57 -07:00
Mark Thom
c513bbeafa another big refactor 2018-01-11 20:56:04 -07:00
Mark Thom
848068c734 transition to reference counted constants 2018-01-09 22:38:17 -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
a00d9ee5ae correct ',', backtrack bugs 2017-12-25 13:36:03 -07:00
Mark Thom
2d4e4c59de remove Terminal, correct , bugs 2017-12-25 00:04:52 -07:00
Mark Thom
2dc25400ce indexing bug fixes, corrections to , 2017-12-24 15:44:40 -07:00
Mark Thom
ca16768f7e add beginning support for ',', ';', '->' 2017-12-23 23:23:30 -07:00
Mark Thom
efa8756177 correct with_capacity function in Heap ADT 2017-12-11 09:53:05 -07:00
Mark Thom
2dc7832f59 update README, heap ADT 2017-12-10 13:55:49 -07:00
Mark Thom
9d944e2268 is_call and is_execute are jump instructions. 2017-12-10 12:31:01 -07:00
Mark Thom
37f4450c34 bug fixes on LCO, backtracking. 2017-12-10 01:24:23 -07:00
Mark Thom
cee2d5a9c4 don't truly truncate the heap. 2017-12-08 21:38:18 -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
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
9a7419c507 add support for rational numbers, division. 2017-12-02 11:10:25 -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
e5a235cf80 eliminate QueryTermRef. 2017-11-11 18:57:23 -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
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
57cc8ccac9 inline atomic and var. 2017-11-03 20:41:01 -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
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
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
4d6897509d evacuate arguments on overwrite. 2017-05-25 16:41:36 -06:00
Mark Thom
2f23541ee0 support call/N 2017-05-24 19:10:31 -06:00