Commit Graph

695 Commits

Author SHA1 Message Date
Mark Thom
32439a1da5 transition to MachineCodeIndices internally 2018-09-08 02:31:33 -06:00
Mark Thom
8344575ae6 make partial_string callable. 2018-09-08 00:40:40 -06:00
Mark Thom
f35bbeb35e Merge branch 'master' of http://github.com/mthom/rusty-wam 2018-09-06 16:34:46 -06:00
Mark Thom
d1ec089405 add permission error for attempts at redefining builtins, re: #50 2018-09-06 16:34:27 -06:00
Mark Thom
6d0ddc1183 be more efficient in (,)/3 clause, correct (;)/3 2018-09-06 09:32:22 -03:00
Mark Thom
57ddf64cba cut properly in first (,)/3 clause 2018-09-06 09:16:44 -03:00
Mark Thom
96ff9c0126 correct comma implementation 2018-09-05 18:35:06 -06:00
Mark Thom
33d1a7c701 add structural tests for partial strings, rename ast.rs 2018-09-04 21:20:45 -06:00
Mark Thom
1c1eda8345 edit README, ast, remove redundant modules 2018-09-03 22:02:15 -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
684e3d217f properly handle character controls from ASCII to UTF-8, re: #48 2018-09-03 13:57:32 -06:00
Mark Thom
c3cce4abd5 properly handle character controls from ASCII to UTF-8, re: #48 2018-09-03 13:50:49 -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
2818e851a0 add info to README, prepare for partial strings 2018-09-01 23:04:13 -06:00
Mark Thom
78ea3f5441 add (^) as an evaluable factor, re: #39 2018-09-01 13:48:04 -06:00
Mark Thom
db36958504 allow continuable strings, re: #48 2018-08-31 01:15:34 -06:00
Mark Thom
d9751671c8 correct get_single_quoted_item, re: #48 2018-08-30 23:51:15 -06:00
Mark Thom
ebd62a2c91 add slightly more descriptive syntax errors 2018-08-30 00:35:42 -06:00
Mark Thom
872b153b08 correct printing of lists when double_quotes is set to atom 2018-08-30 00:04:19 -06:00
Mark Thom
92927bbcef read predicate reads piecemeal data 2018-08-29 23:21:31 -06:00
Mark Thom
dc04708796 split error classification 2018-08-29 21:20:56 -06:00
Mark Thom
0f44b60537 chars are atoms, trailing whitespace is acceptable. 2018-08-29 20:14:23 -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
dc91f46d83 use reference to match on SyntaxError, re: #45 2018-08-28 14:30:50 -03:00
Mark Thom
b418e63a89 unify matching strings with different cursors. 2018-08-26 20:50:12 -06:00
Mark Thom
92e338861d add clean errors for read, re: #45 2018-08-26 20:34:43 -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
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
00d4ef7ad8 print equations lexographically by variable name, re: #26 2018-08-09 18:23:47 -06:00
Mark Thom
0cc4aa77ed complete call_with_inference_limit/3 2018-08-09 00:31:41 -06:00
Mark Thom
3fef717677 set CWILCallPolicy count field back to private 2018-08-08 00:47:48 -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
cf82accc4b add proceed to inlined instructions in tail position 2018-07-31 15:14:28 -06:00
Mark Thom
1ce527d179 realize full cheney in copier.rs 2018-07-29 18:38:26 -06:00
Mark Thom
1b025d409f preliminary read support 2018-07-25 17:15:36 -06:00
Mark Thom
38dcd6113e preliminary read support 2018-07-25 17:12:07 -06:00