Commit Graph

339 Commits

Author SHA1 Message Date
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
6e20f82d6f fix faulty tidy_trail 2018-11-15 23:04:52 -07:00
Mark Thom
a4e882756e fix tests 2018-10-24 23:16:49 -06:00
Mark Thom
32fecca45d add write variants 2018-10-23 22:53:50 -06:00
Mark Thom
eabb851d8c add expand_term/2 2018-10-15 20:07:22 -06:00
Mark Thom
398d91576c fix bug with mark_non_var 2018-10-08 00:34:08 -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
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
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
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
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
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
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
908972eff1 incorporate term_expansion phase in compilation 2018-09-18 22:44:03 -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
f226cb3dbd correct conformity errors 2018-09-16 14:11:21 -06:00
Mark Thom
61fe42a2ad fix copier 2018-09-16 01:37:42 -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
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
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
ebd62a2c91 add slightly more descriptive syntax errors 2018-08-30 00:35:42 -06:00