Commit Graph

154 Commits

Author SHA1 Message Date
Mark Thom
fcb468b844 fix lexer bugs. 2018-04-14 11:59:57 -06:00
Mark Thom
ff6e58e987 update/extension to lexer, bug fixes to module importing 2018-04-13 18:44:23 -06:00
Mark Thom
fe481fedce throw exceptions when calling non-existent predicates. broken. 2018-04-08 15:17:58 -06:00
Mark Thom
273e0a0b94 fix cut expansions, clean up code. 2018-04-07 17:08:01 -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
cf741f365c limit hash lookups to metacall 2018-04-02 13:50:01 -06:00
Mark Thom
7b160199fd add cyclic_term 2018-03-28 23:41:19 -06:00
Mark Thom
80b59bae83 add acyclic term 2018-03-28 21:17:46 -06:00
Mark Thom
b7f926bade clean up call clause stuff. 2018-03-26 18:16:23 -06:00
Mark Thom
a66049a321 refactor BuiltInInstruction 2018-03-17 15:45:17 -06:00
Mark Thom
64ab9a0337 remove DynamicIs 2018-03-17 15:01:31 -06:00
Mark Thom
d8bcf47462 refactor ControlInstruction 2018-03-17 01:26:50 -06:00
Mark Thom
acdb3f2c45 add sort, keysort. 2018-03-11 17:37:29 -06:00
Mark Thom
7500465b38 add atom predicate. 2018-03-10 15:26:35 -07:00
Mark Thom
b1c41f211b add qualified imports 2018-03-05 21:13:07 -07:00
Mark Thom
0c66743db5 correct module bugs 2018-03-04 21:35:30 -07:00
Mark Thom
ba6d753a56 remove module decls from toplevel when they are redeclared. 2018-03-03 22:31:10 -07:00
Mark Thom
8a63623516 add provisional module support. 2018-03-02 22:28:12 -07:00
Mark Thom
07675b3675 fix exception handling when thrown by throw_exception, and within setup_call_cleanup and call_with_inference_limit. 2018-02-25 23:43:37 -07:00
Mark Thom
c133931134 add fixes, further test cases. 2018-02-25 22:38:28 -07:00
Mark Thom
cf9db43d5b major refactor. 2018-02-25 12:13:07 -07:00
Mark Thom
8d182b3f02 fix bugs in call_with_inference_limit 2018-02-23 00:16:40 -07:00
Mark Thom
9aac3cb086 add compare predicate. 2018-02-21 23:21:18 -07:00
Mark Thom
5de03444eb fix bugs in call_with_inference_limit 2018-02-21 19:46:15 -07:00
Mark Thom
7313472a70 add call_with_inference_limit 2018-02-19 22:34:56 -07:00
Mark Thom
61bc5a2a29 fix compile_seq, variable printing on standalone inlines. 2018-02-16 22:18:17 -07:00
Mark Thom
f1ac75f21d add (\=)/2. 2018-02-14 23:21:56 -07:00
Mark Thom
ae323a0cdf add term comparison operators. 2018-02-13 23:34:44 -07:00
Mark Thom
a1fb4f529b move several builtins to control. 2018-02-12 18:30:44 -07:00
Mark Thom
e7560150b0 add eq, neq predicates. 2018-02-10 23:34:30 -07:00
Mark Thom
5b1475435a fix crashes caused by inlined optimization. 2018-02-09 00:09:34 -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
1b4d1c04c9 finalize transition to CutPolicy trait object. 2018-02-07 21:46:40 -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
73714e8aa2 prepare for batch processing. 2018-01-29 22:04:51 -07:00
Mark Thom
a1070ceacb prepare for batch processing 2018-01-29 16:08:24 -07:00
Mark Thom
e148152eef prepare for batch processing. 2018-01-28 23:25:39 -07:00
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