Commit Graph

485 Commits

Author SHA1 Message Date
Mark Thom
2f75270da9 clear out expansions from code_repo if code entry fails 2019-01-15 22:20:53 -07:00
Mark Thom
c9f6ab984f add dynamic module resolution calls 2019-01-06 00:15:32 -07:00
Mark Thom
da731ad1f9 add module-level goal_expansion and term_expansion 2019-01-05 22:02:06 -07:00
Mark Thom
042779cff9 add read support for user:term_expansion and user:goal_expansion 2019-01-05 19:22:38 -07:00
Mark Thom
36fdc8e822 do not add expansions behind module boundaries until the modules are added 2019-01-03 19:43:50 -07:00
Mark Thom
2f2f6314d8 correct write_canonical/2 bug 2018-12-28 16:59:26 -07:00
Mark Thom
56ec550031 fix unification on string lists. 2018-12-23 12:14:03 -07:00
Mark Thom
40fa795d49 fix ambiguity_check 2018-12-19 21:25:06 -07:00
Mark Thom
b42706c1d6 make insert_from_end work correctly 2018-12-19 09:27:08 -07:00
Mark Thom
6f0018c3e0 correct space formatting in heap_print 2018-12-19 00:26:46 -07:00
Mark Thom
9064f73655 eliminate ambiguity check on structs with non-zero arity 2018-12-18 23:04:49 -07:00
Mark Thom
6234ae6ef1 convert append to push_char when applicable 2018-12-18 21:54:18 -07:00
Mark Thom
5c12c3047c remove lifetime on ReverseHeapVarDict 2018-12-18 21:42:34 -07:00
Mark Thom
2b774f3041 correct non-termination of expand_goal and expand_term 2018-12-15 00:04:56 -07:00
Mark Thom
47a1cfaddc correct non-termination of expand_goal and expand_term 2018-12-14 19:10:38 -07:00
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
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