Commit Graph

656 Commits

Author SHA1 Message Date
Mark Thom
adf9629333 stop module dynamic predicate modifications from taking on the user module index. 2019-03-09 00:37:58 -07:00
Mark Thom
92c36aa0d9 properly update dynamically updated predicates in module indices 2019-03-08 23:11:06 -07:00
Mark Thom
da0e1b9436 add assoc.pl, add max evaluable functor 2019-03-08 22:31:12 -07:00
Mark Thom
089428b8c4 split dynamic database keys across modules 2019-03-08 21:22:15 -07:00
Mark Thom
267d1a9f5f improve Rust-generated permissions errors 2019-03-07 23:46:01 -07:00
Mark Thom
3cb1996e61 make clause/2 global in scope 2019-03-07 23:32:41 -07:00
Mark Thom
933c19c317 correct clause/2 to work only on properly scoped terms 2019-03-07 22:55:54 -07:00
Mark Thom
b1e47cc465 further cross-module dynamic database fixes 2019-03-07 22:01:03 -07:00
Mark Thom
72f759da40 correct mismanagement of dynamic database across modules 2019-03-07 20:27:55 -07:00
Mark Thom
72c8807ff1 update toplevel exports when updated dynamically 2019-03-06 23:35:50 -07:00
Mark Thom
d4de3c2003 update toplevel exports when updated dynamically 2019-03-06 22:33:16 -07:00
Mark Thom
2467df232d Merge branch 'master' of https://github.com/mthom/rusty-wam 2019-03-06 21:53:17 -07:00
Mark Thom
b69bf71ff4 support module modification using dynamic database predicates 2019-03-06 21:53:08 -07:00
Mark Thom
07fe30c970 correct abolish/1 2019-03-06 09:54:27 -07:00
Mark Jordan Thom
460a4edadc update to reflect name change 2019-03-06 16:37:58 +00:00
Mark Thom
d49917c88f give module bounds a better respect for dynamic predicates 2019-03-06 09:17:24 -07:00
Mark Thom
c8ea788720 give dynamic predicates a better respect for module bounds 2019-03-06 00:51:21 -07:00
Mark Thom
6439d09733 give dynamic predicates a better respect for module bounds 2019-03-06 00:09:55 -07:00
Mark Thom
20e9042350 refactor compile_work 2019-03-05 00:47:12 -07:00
Mark Thom
14f05a67e3 separate constraint checks and code addition into separate phases in machine::compile 2019-03-05 00:17:56 -07:00
Mark Thom
e51e816178 current_predicate skips undefined predicates 2019-03-04 22:44:43 -07:00
Mark Thom
e4cc54104e add another test, add unwind_protect! 2019-03-04 22:34:17 -07:00
Mark Thom
11026e2741 remove extraneous slashes in builtins.pl 2019-03-04 22:03:04 -07:00
Mark Thom
3d8c0a43a6 refactor to actual modules 2019-03-03 23:29:02 -07:00
Mark Thom
f458d12676 remove unification from dif/2 2019-03-03 18:14:05 -07:00
Mark Thom
f35008cbd6 condense reverse even further 2019-03-03 17:36:20 -07:00
Mark Thom
3fc0a230fa tighten reverse/2 2019-03-03 10:37:34 -07:00
Mark Thom
74521a93d3 improve reverse/2 2019-03-03 02:50:49 -07:00
Mark Thom
8ca1bb5688 eliminate redundant set_p function 2019-03-02 23:13:54 -07:00
Mark Thom
586375ce4c do not hard code arity in builtins.pl 2019-03-02 22:58:37 -07:00
Mark Thom
77652d4458 correct inlining calling in last call context 2019-03-02 22:57:07 -07:00
Mark Thom
e4cb904470 correct inlined calling bug in last call, add dynamic database manipulation predicates 2019-03-02 16:57:45 -07:00
Mark Thom
2fb5408ab5 add assertz/1 and asserta/1 2019-03-02 00:27:40 -07:00
Mark Thom
818a971833 start enabling the dynamic database 2019-02-28 21:49:07 -07:00
Mark Thom
9db7172bfe remove defunct dependency from reif.pl 2019-02-25 17:40:37 -07:00
Mark Thom
7f8c6eb3f5 make better use of can_be in between library 2019-02-24 15:15:00 -07:00
Mark Thom
dc89ed57f2 evacuate when allocating anon vars 2019-02-24 13:40:58 -07:00
Mark Thom
8f9c620a89 remove redundancy positivity check in repeat/1 2019-02-24 13:12:46 -07:00
Mark Thom
7edbb540bd use can_be and must_be in library(between) 2019-02-24 13:10:31 -07:00
Mark Thom
767f98eaa3 begin work on between library 2019-02-24 03:45:41 -07:00
Mark Thom
a9a0343815 add numlist/3 2019-02-24 03:38:07 -07:00
Mark Thom
67ae47a01a begin work on between library 2019-02-23 19:59:13 -07:00
Mark Thom
20b66e283f add correct error sources to bagof/3, setof/3, findall/4 2019-02-22 23:37:19 -07:00
Mark Thom
5155d4667f add examples from the power of prolog 2019-02-22 23:25:19 -07:00
Mark Thom
1d331757e2 add findall/4, bagof/3, setof/3 2019-02-22 23:22:25 -07:00
Mark Thom
0f01d37618 properly report deterministically successful queries 2019-02-22 19:38:49 -07:00
Mark Thom
6ba47b6b08 use acyclic iteration when projecting onto query vars 2019-02-22 17:48:49 -07:00
Mark Thom
f41b5f465e add findall/3 2019-02-22 00:56:04 -07:00
Mark Thom
0453435bcd change project_attributes to use attribute vars queue 2019-02-20 19:34:31 -07:00
Mark Thom
e66928725a remove clone from unwind_trail in copier.rs 2019-02-19 22:32:25 -07:00