Commit Graph
100 Commits
Author SHA1 Message Date
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
Mark Thom 950a6ec57c add unwrap to var lookup in fixtures 2017-05-16 15:26:26 -06:00
Mark Thom 9afa37a94b remove dead code 2017-05-10 10:47:05 -06:00
Mark Thom 91b9aed33a code cleanup 2017-05-10 10:21:02 -06:00
Mark Thom 6fa5bad5bf add top level declarative structure 2017-05-09 16:26:17 -06:00
Mark Thom 9c72177b60 cleanup of run_query 2017-05-08 14:33:27 -06:00
Mark Thom f155b5b2c2 add support for conjunctive queries. 2017-05-07 15:26:36 -06:00
Mark Thom 9687878219 refine *_void emission" 2017-05-01 14:22:32 -06:00
Mark Thom 5d354bbce7 fix formatting 2017-05-01 11:41:33 -06:00
Mark Thom 1ab2619cce fix void instrs 2017-05-01 11:39:56 -06:00
Mark Thom e68e3cc1ad tweak head check 2017-04-30 13:59:11 -06:00
Mark Thom 316e5c5c1a transition to debray allocation 2017-04-30 13:53:15 -06:00
Mark Thom 1bdc539c25 add fixtures 2017-04-29 16:52:08 -06:00
Mark Thom a6304d3f96 prep for debray allocation 2017-04-29 16:50:53 -06:00
Mark Thom 2e7aa6423c minor tweaks. 2017-04-18 13:57:48 -06:00
Mark Thom 7acee092eb more codegen tweaks. 2017-04-16 16:53:25 -06:00
Mark Thom 0ef8dc03ac adjust register allocation around cut 2017-04-09 19:46:44 -06:00
Mark Thom 19ee43e186 optimized up to chapter 6 2017-04-09 19:12:36 -06:00
Mark Thom d2cf8626a1 tidying up 2017-04-09 12:23:54 -06:00
Mark Thom 759e1da4c8 remove spurious Into instance 2017-03-30 00:53:54 -06:00
Mark Thom 79ae4abb81 optimized up to section 5.11 2017-03-30 00:51:23 -06:00
Mark Thom 02482aec8a slight tweaks. 2017-03-25 21:35:31 -06:00
Mark Thom b7ff27af1b correct register overallocation 2017-03-25 12:26:06 -06:00
Mark Thom a836e14b5f remove print debug 2017-03-25 02:00:19 -06:00
Mark Thom d65970ee57 optimized up to section 5.10 2017-03-25 01:58:54 -06:00
Mark Thom 24b60eb2c6 optimizations up to section 5.8 2017-03-23 16:55:43 -06:00
Mark Thom e1cc5ecfd6 optimizations up to section 5.7. 2017-03-23 01:06:06 -06:00
Mark Thom 9362aa6af3 optimizations 2017-03-22 22:30:45 -06:00
Mark Thom 540a5b805f fix README 2017-03-10 23:51:37 -07:00
Mark Thom fcb3cc1287 transition to prolog 2017-03-10 23:50:26 -07:00
Mark Thom 743602778f fix README 2017-03-05 10:04:45 -07:00
Mark Thom bad608a202 fix to README 2017-03-04 19:52:54 -07:00
Mark Thom 02827bc0e2 fix to README 2017-03-04 19:28:59 -07:00
Mark Thom 42ce902b3c transition to l3 2017-03-04 19:22:43 -07:00
Mark Thom 97f6bee8c3 minor tweak 2017-02-28 13:33:28 -07:00
Mark Thom 6822be4bc9 minor tweaks. 2017-02-28 13:28:06 -07:00
Mark Thom 00ad58e741 remove todo 2017-02-27 12:36:52 -07:00
Mark Thom 42374f49dc codegen tweak. 2017-02-26 21:44:46 -07:00
Mark Thom e3e3f346e5 bug fixes, tests 2017-02-25 20:53:33 -07:00
Mark Thom 59eb04866a codegen bug fix. 2017-02-25 14:29:11 -07:00
Mark Thom d55224626f bug fix 2017-02-25 13:52:58 -07:00
Mark Thom 6346612caa typo fix 2017-02-25 12:30:27 -07:00
Mark Thom 80adc23984 new readme examples 2017-02-24 18:53:30 -07:00
Mark Thom 25eb8911f0 cosmetic changes 2017-02-24 18:05:17 -07:00
Mark Thom f47a161376 fix codegen bug (marking terms in rules too eagerly) 2017-02-24 17:54:33 -07:00
Mark Thom 2fccbb09c6 add heapview, move registers to HeapCellRef 2017-02-24 16:16:14 -07:00
Mark Thom cde396650c removed unnecessary lookup function 2017-02-22 16:04:24 -07:00
Mark Thom 4cdfc211e2 arity bug fix 2017-02-22 15:53:12 -07:00
Mark Thom 1b5f8a1db2 transition to l2 2017-02-21 00:31:04 -07:00