Commit Graph

99 Commits

Author SHA1 Message Date
Mark Thom
f226cb3dbd correct conformity errors 2018-09-16 14:11:21 -06:00
Mark Thom
32439a1da5 transition to MachineCodeIndices internally 2018-09-08 02:31:33 -06:00
Mark Thom
33d1a7c701 add structural tests for partial strings, rename ast.rs 2018-09-04 21:20:45 -06:00
Mark Thom
ff9d2662e6 farm parser out to a crate, remove it as a git submodule. 2018-09-03 21:58:07 -06:00
Mark Thom
4be20e48e6 fixes to quoted 2018-09-03 17:21:28 -06:00
Mark Thom
239552f4c3 correct print_var_eq bad ending check 2018-09-03 15:14:02 -06:00
Mark Thom
3960ea4f06 do not unify partial strings unless they coincide in memory 2018-09-03 00:20:01 -06:00
Mark Thom
c5fd13dfa0 distinguish eq from structural_eq on strings 2018-09-03 00:06:01 -06:00
Mark Thom
abcb53699a finalize support for partial strings 2018-09-02 23:32:51 -06:00
Mark Thom
78ea3f5441 add (^) as an evaluable factor, re: #39 2018-09-01 13:48:04 -06:00
Mark Thom
16a748bc0f add tests for string lists, structural equality on string lists. 2018-08-29 00:05:00 -06:00
Mark Thom
b418e63a89 unify matching strings with different cursors. 2018-08-26 20:50:12 -06:00
Mark Thom
5afa4a7848 modify structural_eq_test 2018-08-26 02:03:16 -06:00
Mark Thom
9759c523b6 equate chars with atoms consisting of chars 2018-08-24 23:14:41 -06:00
Mark Thom
7884a20042 support strings as char lists in term comparisons 2018-08-23 01:24:26 -06:00
Mark Thom
f861b7a80e update to handle strings as lists. 2018-08-22 00:26:48 -06:00
Mark Thom
013eb29e2b add string table, StringList representation 2018-08-21 00:22:16 -06:00
Mark Thom
d19ece6df8 add some prolog flags, tabled strings 2018-08-18 18:03:28 -06:00
Mark Thom
f9e6b7fec5 get rid of dynamic lookup for
$call_with_default_policy.
2018-08-12 23:17:34 -06:00
Mark Thom
c1ad5cd33f get rid of dynamic lookup for
$call_with_default_policy.
2018-08-12 23:14:28 -06:00
Mark Thom
0cc4aa77ed complete call_with_inference_limit/3 2018-08-09 00:31:41 -06:00
Mark Thom
7016d378d6 add call_with_inference_limit/3 2018-08-08 00:42:57 -06:00
Mark Thom
707e5fcf8b restore setup_call_cleanup/3 2018-08-04 16:12:37 -06:00
Mark Thom
38dcd6113e preliminary read support 2018-07-25 17:12:07 -06:00
Mark Thom
cd03b7795f finalize the module resolution operator. 2018-07-08 15:21:09 -06:00
Mark Thom
0abd075b0b complete trimdown of listing compilation. 2018-07-01 18:14:45 -06:00
Mark Thom
4608c4fe58 fix offsetting of heap in existence errors 2018-05-20 16:26:52 -06:00
Mark Thom
9fbb73dcb8 Merge branch 'develop' 2018-05-15 22:48:37 -06:00
Mark Thom
06d896277c major refactor 2018-05-15 22:47:36 -06:00
Mark Thom
8f1d721477 move SGC and call inference instructions over to SystemClauseType 2018-05-15 00:23:42 -06:00
Mark Thom
9a88d179d1 remove IsClause 2018-05-14 16:43:49 -06:00
Mark Thom
18e2e77600 add (=..)/2, arg/3 2018-05-13 17:02:33 -06:00
Mark Thom
81d0538a5c switch to machine implemented arg 2018-05-13 14:55:44 -06:00
Mark Thom
175a5db5d7 parse the list functor 2018-05-13 14:10:48 -06:00
Mark Thom
5690409534 correct faulty bind (two tests now fail: conjunctive_queries and lists) 2018-05-12 15:51:20 -06:00
Mark Thom
7455c2e9db add support for callable if-then and disjunct 2018-05-12 00:30:34 -06:00
Mark Thom
ba7e7ac895 throw exception when call-ing a system instruction. 2018-05-10 23:08:56 -06:00
Mark Thom
910bafef61 port remaining builtins to SystemClauseType 2018-05-10 22:40:01 -06:00
Mark Thom
5a631c17c7 make system calls exempt from call policy. 2018-05-10 22:24:15 -06:00
Mark Thom
954c29b103 add catch/throw support, make exceptions and arithmetic tests pass. 2018-05-10 01:43:36 -06:00
Mark Thom
bae107f8cd eliminate need for embedded, handwritten WAM code. 2018-05-09 22:58:23 -06:00
Mark Thom
b09c20670b shift to builtins 2018-05-08 22:38:49 -06:00
Mark Thom
1a0f50200f system calls preliminary 2018-05-07 22:27:58 -06:00
Mark Thom
30926a71ab streamline variable search in heap_print.rs 2018-05-06 22:10:51 -06:00
Mark Thom
885d7c04e3 simplify detection of cycles in printer 2018-05-05 13:20:06 -06:00
Mark Thom
81a199836d properly handle cyclic terms in the printer. 2018-05-05 12:33:29 -06:00
Mark Thom
d6495c8195 add support for printing cyclic terms. 2018-05-05 01:53:05 -06:00
Mark Thom
c369ce9a7f add access to HeapVarDict to the printer. 2018-05-04 20:51:02 -06:00
Mark Thom
2df82e6b01 abbreviate names in heap_iter.rs 2018-05-04 19:43:43 -06:00
Mark Thom
11800532c9 fix errors emitted by sort and keysort, add tests, add support for Max = -1 to '$skip_max_list' 2018-05-03 20:15:45 -06:00