Commit Graph

154 Commits

Author SHA1 Message Date
Mark Thom
9759c523b6 equate chars with atoms consisting of chars 2018-08-24 23:14:41 -06:00
Mark Thom
ddf5593e44 revert is_undefined back to ref match, re: #44 2018-08-22 18:28:40 -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
01d6ef099f add StringList internal datatype 2018-08-20 22:00:38 -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
ae11e82040 fail on parse error invoked by read/1 2018-08-04 14:56:38 -06:00
Mark Thom
38dcd6113e preliminary read support 2018-07-25 17:12:07 -06:00
Mark Thom
f5e254dd64 add support for quoted atoms to writeq 2018-07-15 17:54:37 -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
870316b0d1 get rid of LocalMachineCodeIndex 2018-06-24 23:32:50 -06:00
Mark Thom
2d7032e61a prepare for changes to relocation scheme 2018-06-18 21:28:22 -06:00
Mark Thom
a13b94622b print chars somewhat appropriately. 2018-05-28 20:19:52 -06:00
Mark Thom
07ec2d34c8 hacky workaround 2018-05-28 20:07:34 -06:00
Mark Thom
b49c0f5d36 get rid of spurious warning, add type error for skip_max_list 2018-05-21 16:20:08 -06:00
Mark Thom
c5386c3e88 correct for use in earlier releases of rust. 2018-05-17 13:14:38 -06:00
Mark Thom
ddb79e6b34 print certain atoms in single quotes. 2018-05-16 20:34:53 -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
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
0951bcff58 add arg 2018-05-12 01:21:31 -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
0f980e204d add more tests that pass. 2018-05-10 19:47:53 -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
d6495c8195 add support for printing cyclic terms. 2018-05-05 01:53:05 -06:00
Mark Thom
0dec988337 add error handling appartus 2018-05-02 21:24:43 -06:00
Mark Thom
d51c950b77 clean up detect_cycles 2018-05-01 10:52:57 -06:00
Mark Thom
0458a70527 handle non-list cases in '', add '' as a built-in (re: issue #31) 2018-05-01 10:11:27 -06:00
Mark Thom
516b67460d add '', type checking for incomplete lists in sort, keysort (re: #17) 2018-04-29 21:53:20 -06:00
Mark Thom
13280abbb2 Merge branch 'master' of http://github.com/mthom/rusty-wam into develop 2018-04-25 18:59:59 -06:00
Mark Thom
58515d071c skip_max_list preliminaries 2018-04-25 18:59:52 -06:00
Mark Thom
ed9689368d properly support module imports from within modules. 2018-04-25 17:11:46 -06:00
Mark Thom
b87d599b14 change modules when updating code index (re: issue #27) 2018-04-20 14:03:04 -06:00
Mark Thom
989d44d702 make module code entries immutable (re: issue #27) 2018-04-18 19:24:32 -06:00
Mark Thom
35694e7622 print characters correctly 2018-04-16 23:25:37 -06:00