Commit Graph
100 Commits
Author SHA1 Message Date
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 b5844eaf19 move MachineState to a submodule 2018-01-11 22:02:34 -07:00
Mark Thom c513bbeafa another big refactor 2018-01-11 20:56:04 -07:00
Mark Thom 59ccf5d8e8 delete needless use 2018-01-11 17:07:29 -07:00
Mark Thom 930d00a806 document arg, functor, conditionals 2018-01-11 16:13:13 -07:00
Mark Thom 848068c734 transition to reference counted constants 2018-01-09 22:38:17 -07:00
Mark Thom 9b225a0a56 claw back version number 2018-01-09 17:11: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 750e7d91ed trim down set_cp 2017-12-25 14:01:36 -07:00
Mark Thom a00d9ee5ae correct ',', backtrack bugs 2017-12-25 13:36:03 -07:00
Mark Thom 8fbe798362 correction to -> offset 2017-12-25 00:29:42 -07:00
Mark Thom 2efa7564ba remove print_code diagnostic 2017-12-25 00:10:40 -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 eab95a360a Merge branch 'master' of http://github.com/mthom/rusty-wam 2017-12-23 23:23:45 -07:00
Mark Thom ca16768f7e add beginning support for ',', ';', '->' 2017-12-23 23:23:30 -07:00
Mark Thom 6e87e35c7c update README 2017-12-22 12:52:55 -07:00
Mark Thom 8e38d39058 update README 2017-12-22 12:43:06 -07:00
Mark Thom f8555682d0 update README 2017-12-22 12:39:35 -07:00
Mark Thom efa8756177 correct with_capacity function in Heap ADT 2017-12-11 09:53:05 -07:00
Mark Thom 829b8278da add to README 2017-12-10 19:32:52 -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 e44ad111c5 don't truly truncate the heap. 2017-12-08 21:38:52 -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 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 775fe42781 tweak README 2017-12-03 14:23:00 -07:00
Mark Thom 0ee2286199 tweak README 2017-12-03 14:22:26 -07:00
Mark Thom a2e0b84618 correct README 2017-12-03 14:15:52 -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 ff9a1a60d8 correct README 2017-11-05 17:14:49 -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 e179f381a8 correct README 2017-09-06 18:12:35 -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 8ee27af9fd add control operators. 2017-09-04 23:30:07 -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 1a7edc2d13 tweak README 2017-08-15 14:28:28 -06:00
Mark Thom 3cacb49f6a tweak README 2017-08-15 14:28:00 -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 caf740b9cd correct throw omission in README 2017-08-15 11:07:23 -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 180fca20f9 update README 2017-08-03 21:25:50 -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
Mark Thom b349ac8bf9 add more tests 2017-05-29 12:21:05 -06:00
Mark Thom cf14f736f7 update README 2017-05-26 12:48:51 -06:00
Mark Thom ca43a5b8e0 update README 2017-05-26 12:48:09 -06:00
Mark Thom 4ab0716b86 update README 2017-05-26 12:46:19 -06:00
Mark Thom f29bd3dc0b add tests, add to README. 2017-05-26 12:27:41 -06:00
Mark Thom 4d6897509d evacuate arguments on overwrite. 2017-05-25 16:41:36 -06:00
Mark Thom cf470e48c2 add tests 2017-05-25 14:46:48 -06:00
Mark Thom 13c902918b remove diagnostic calls 2017-05-24 19:12:39 -06:00
Mark Thom 2f23541ee0 support call/N 2017-05-24 19:10:31 -06:00
Mark Thom 39f0f2bacb .. 2017-05-17 16:46:04 -06:00
Mark Thom 0063329e3e correct formatting bugs 2017-05-17 16:40:05 -06:00
Mark Thom 5efee09434 refine code generation, scale back unsafe variable instructions for conjunctive queries 2017-05-17 16:32:46 -06:00
Mark Thom 5fa9881556 add (non)-deterministic REPL demarcations 2017-05-16 19:35:22 -06:00