Mark Thom
|
e90669d159
|
fix expand_goal and expand_term
|
2018-12-13 19:38:44 -07:00 |
|
Mark Thom
|
45a68d4bc2
|
add expand_goal, make user:term_expansion and user:goal_expansion work properly within modules
|
2018-12-11 22:57:11 -07:00 |
|
Mark Thom
|
226bb7f9ed
|
remove Option wrapper from cached_query
|
2018-12-10 21:21:15 -07:00 |
|
Mark Thom
|
a4406f784a
|
add support for user:goal_expansion
|
2018-12-09 00:48:28 -07:00 |
|
Mark Thom
|
deabdafa48
|
remove needless result type in try_expand_term
|
2018-12-02 15:17:45 -07:00 |
|
Mark Thom
|
c281c1b427
|
offset variable indexing for semi-context notations
|
2018-11-18 21:51:53 -07:00 |
|
Mark Thom
|
c718e17346
|
update version number
|
2018-11-15 23:24:54 -07:00 |
|
Mark Thom
|
6e20f82d6f
|
fix faulty tidy_trail
|
2018-11-15 23:04:52 -07:00 |
|
Mark Thom
|
81f4128bc6
|
update dcgs to handle ; and ->
|
2018-10-27 20:56:23 -06:00 |
|
Mark Thom
|
a4e882756e
|
fix tests
|
2018-10-24 23:16:49 -06:00 |
|
Mark Thom
|
69a7579adb
|
use proper range notation
|
2018-10-24 21:08:27 -04:00 |
|
Mark Thom
|
036d248eb0
|
stop write_canonical from printing numbervars.
|
2018-10-23 23:11:13 -06:00 |
|
Mark Thom
|
32fecca45d
|
add write variants
|
2018-10-23 22:53:50 -06:00 |
|
Mark Thom
|
1e3891204e
|
make lists parse properly when used as dcg rules
|
2018-10-20 23:37:09 -06:00 |
|
Mark Thom
|
4c76920489
|
fix conformity errors
|
2018-10-17 22:10:00 -06:00 |
|
Mark Thom
|
1b7ffa00af
|
fix semicontext notation
|
2018-10-15 22:31:53 -06:00 |
|
Mark Thom
|
3140c65f67
|
correctly handle anonymous variables when reading
|
2018-10-15 22:13:58 -06:00 |
|
Mark Thom
|
720426648e
|
correctly handle anonymous variables when reading
|
2018-10-15 22:11:55 -06:00 |
|
Mark Thom
|
a3dc6d2bef
|
add expand_term/2
|
2018-10-15 20:07:48 -06:00 |
|
Mark Thom
|
eabb851d8c
|
add expand_term/2
|
2018-10-15 20:07:22 -06:00 |
|
Mark Thom
|
24a7206021
|
fix DCG bugs
|
2018-10-10 21:30:40 -06:00 |
|
Mark Thom
|
5586aa7057
|
remove needless self parameter from ambiguity_check
|
2018-10-09 19:58:15 -06:00 |
|
Mark Thom
|
2b32d2d94e
|
smooth out ambiguity check
|
2018-10-08 23:23:52 -06:00 |
|
Mark Thom
|
b2d9673593
|
add spaces between operators when there is an ambiguity
|
2018-10-08 23:04:23 -06:00 |
|
Mark Thom
|
41b8f7a36b
|
add spaces between operators when there is an ambiguity
|
2018-10-08 23:04:03 -06:00 |
|
Mark Thom
|
9a6094bad2
|
correct phrase/2
|
2018-10-08 11:02:48 -06:00 |
|
Mark Thom
|
1dc015b91f
|
add DCG test case
|
2018-10-08 00:51:11 -06:00 |
|
Mark Thom
|
398d91576c
|
fix bug with mark_non_var
|
2018-10-08 00:34:08 -06:00 |
|
Mark Thom
|
fa1bb6df3a
|
term_expansion bug fixes
|
2018-10-07 00:43:44 -06:00 |
|
Mark Thom
|
59ad71fccc
|
add preliminary support for DCGs.
|
2018-10-07 00:07:12 -06:00 |
|
Mark Thom
|
e7717d4f61
|
remove modules properly.
|
2018-10-06 19:51:38 -06:00 |
|
Mark Thom
|
c85eba0e22
|
remove need for taking code_dir
|
2018-10-06 16:25:10 -06:00 |
|
Mark Thom
|
254ff9715b
|
remove unnecessary parameter in compile_listing
|
2018-10-05 12:17:22 -04:00 |
|
Mark Thom
|
86255fe0d5
|
correct code dir swapping for term_expansion
|
2018-10-04 23:04:09 -06:00 |
|
Mark Thom
|
d7e8da8324
|
minor modification to lco in codegen
|
2018-10-04 22:28:42 -06:00 |
|
Mark Thom
|
054def4cc7
|
remove need to clone instructions.
|
2018-10-04 22:18:29 -06:00 |
|
Mark Thom
|
4bd805cc76
|
remove need for RefCell wrapping on CodeDir
|
2018-10-04 21:43:49 -06:00 |
|
Mark Thom
|
bf0521fde6
|
move atom_tbl up to Machine
|
2018-10-04 19:36:58 -06:00 |
|
Mark Thom
|
d9b5734688
|
mark term_variables type errors with blame
|
2018-10-03 23:08:25 -06:00 |
|
Mark Thom
|
8e4bb039f0
|
divide atom tables by module
|
2018-10-03 22:56:12 -06:00 |
|
Mark Thom
|
61536d2004
|
remove module name from DirEntry
|
2018-10-02 20:37:15 -06:00 |
|
Mark Thom
|
5792990dff
|
Merge pull request #58 from triska/master
ENHANCED: Better error handling if Type is invalid.
|
2018-09-30 23:55:18 -03:00 |
|
Mark Thom
|
aa8fe02b66
|
Merge pull request #57 from triska/master
correct can_be/2 for partial lists
|
2018-09-28 13:31:07 -03:00 |
|
Mark Thom
|
80def45d38
|
update README
|
2018-09-27 22:41:41 -06:00 |
|
Mark Thom
|
a97987c20b
|
add error.pl, correct numbervars/3
|
2018-09-27 22:40:23 -06:00 |
|
Mark Thom
|
6d0770aafb
|
duplicate_term is now copy_term
|
2018-09-26 22:39:34 -06:00 |
|
Mark Thom
|
415cd2ec8f
|
Merge branch 'master' of https://github.com/mthom/rusty-wam
|
2018-09-26 19:33:40 -06:00 |
|
Mark Thom
|
6f668a8b7a
|
move term_variables to builtins
|
2018-09-26 19:33:27 -06:00 |
|
Mark Thom
|
d52ffb0e92
|
add tidy_pstr_trail to neck_cut
|
2018-09-25 09:50:19 -03:00 |
|
Mark Thom
|
4cf1aa0d8f
|
add term variables
|
2018-09-24 23:33:47 -06:00 |
|
Mark Thom
|
5e30fa6264
|
add more tests
|
2018-09-24 22:47:01 -06:00 |
|
Mark Thom
|
af5f08ddb2
|
add more tests
|
2018-09-24 22:39:15 -06:00 |
|
Mark Thom
|
58ed374363
|
enable backtracking on partial strings
|
2018-09-24 22:24:23 -06:00 |
|
Mark Thom
|
23eed192e9
|
match on partial strings through get_list
|
2018-09-24 19:53:51 -06:00 |
|
Mark Thom
|
bf84edce59
|
partial strings are still a work in progress
|
2018-09-24 09:51:09 -03:00 |
|
Mark Thom
|
0c545467b9
|
correct numbervars
|
2018-09-22 17:45:52 -06:00 |
|
Mark Thom
|
10cbd0875b
|
Merge branch 'develop'
|
2018-09-22 17:06:43 -06:00 |
|
Mark Thom
|
66584cee5e
|
add term_expansion basics
|
2018-09-22 17:05:19 -06:00 |
|
Mark Thom
|
4d57989c2b
|
term_expansion beginnings
|
2018-09-22 16:25:32 -06:00 |
|
Mark Thom
|
109a0ee74d
|
tighten up numbervars
|
2018-09-21 10:29:07 -03:00 |
|
Mark Thom
|
908972eff1
|
incorporate term_expansion phase in compilation
|
2018-09-18 22:44:03 -06:00 |
|
Mark Thom
|
78ef18ad75
|
stop treating copier as trait object
|
2018-09-18 20:58:42 -06:00 |
|
Mark Thom
|
4d6590c6aa
|
correct and load numbervars
|
2018-09-18 17:20:34 -03:00 |
|
Mark Thom
|
d0ac258c77
|
restore parse_term to toplevel
|
2018-09-17 21:16:15 -06:00 |
|
Mark Thom
|
43ba8f23dc
|
correct ordinary input
|
2018-09-17 20:24:58 -06:00 |
|
Mark Thom
|
8eb327c735
|
correct conformity error
|
2018-09-16 14:21:50 -06:00 |
|
Mark Thom
|
f226cb3dbd
|
correct conformity errors
|
2018-09-16 14:11:21 -06:00 |
|
Mark Thom
|
908b0a5712
|
correct new copier bug
|
2018-09-16 10:57:14 -06:00 |
|
Mark Thom
|
70939331d1
|
correct copier.
|
2018-09-16 02:32:29 -06:00 |
|
Mark Thom
|
61fe42a2ad
|
fix copier
|
2018-09-16 01:37:42 -06:00 |
|
Mark Thom
|
38bb7c7dec
|
correct handling of .
|
2018-09-14 00:46:02 -06:00 |
|
Mark Thom
|
bd14eb5485
|
Merge branch 'master' of https://github.com/mthom/rusty-wam
|
2018-09-13 19:46:02 -06:00 |
|
Mark Thom
|
1e2047e72c
|
streamline inputs.
|
2018-09-13 19:44:50 -06:00 |
|
Mark Thom
|
d09e9fd8d8
|
provisional #4
|
2018-09-13 00:46:41 -06:00 |
|
Mark Thom
|
9b1c18912a
|
provisional #3
|
2018-09-13 00:06:54 -06:00 |
|
Mark Thom
|
ccbc0566ba
|
provisional changes #2
|
2018-09-12 23:31:29 -06:00 |
|
Mark Thom
|
fbf16e2aea
|
provisional changes to module insertion
|
2018-09-12 20:46:15 -06:00 |
|
Mark Thom
|
2941ade0ab
|
update version number for push to crates
|
2018-09-11 10:58:44 -03:00 |
|
Mark Thom
|
79da405d38
|
move compile_listing body to dedicated function
|
2018-09-10 20:51:34 -06:00 |
|
Mark Thom
|
3f06ff874b
|
make use of read_term in the repl
|
2018-09-10 00:18:17 -06:00 |
|
Mark Thom
|
664f0f83dc
|
read modifications
|
2018-09-08 19:46:34 -06:00 |
|
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
|
9713286023
|
throw the correct error if the final reduce does not work, re: #49
|
2018-09-04 18:52:45 -06:00 |
|
Mark Thom
|
55b54a8c87
|
update README
|
2018-09-03 22:05:59 -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 |
|