Commit Graph

39 Commits

Author SHA1 Message Date
Mark Thom
a623061a1a correct handling of ! in phrase/{2,3}, get rid of extraneous choice points in put_atts/2 and get_atts/2, allow loading of non-module files from the command line and use_module/{2,3} 2019-10-02 15:51:48 -06:00
Mark Thom
abc7498a42 add the initialization directive 2019-10-01 16:51:22 -06:00
Mark Thom
9df14cf890 add use_module/{1,2} as full fledged predicates 2019-09-30 10:26:29 -06:00
Mark Thom
376b39a4ef support loading of modules from files specified at the command line 2019-09-29 10:16:27 -06:00
Mark Thom
5ec4dfedb0 target out_dir in build script 2019-09-27 00:05:19 -06:00
Mark Thom
9a83ccbdbc make *.pl files in src/prolog/lib available from libraries.rs 2019-09-26 23:10:04 -06:00
Atul Bhosale
1273e2d52d Format code using 'cargo fmt' 2019-09-23 19:35:37 +07:00
Mark Thom
8207fdea40 replace HashMap with IndexMap and HashSet with IndexSet 2019-09-22 17:31:25 -06:00
Mark Thom
cefcf916c3 slight formatting changes 2019-09-03 10:10:51 -04:00
Mark Thom
2c880b2bc0 address issues #143, #150, #155 2019-09-02 16:53:31 -04:00
Anton Kochkov
580dc761d5 Remove unnecessary mutability 2019-05-08 14:09:33 +08:00
Mark Thom
b05cff3044 improve matching on partial strings as lists 2019-04-30 21:30:28 -06:00
Mark Thom
a5dc7f2387 various fixes 2019-04-22 21:28:33 -06:00
Mark Thom
f9448e894e use binary_pow for (^)/2 2019-04-22 19:48:09 -06:00
Mark Thom
d3eec10fc5 fix conformity tests #279 and #296 2019-04-14 09:45:04 -06:00
Mark Thom
ae90554378 read from streams. 2019-04-13 18:40:17 -06:00
Mark Thom
3912a4772d fix conformity errors 2019-04-04 22:51:00 -06:00
Mark Thom
a2f531eeb7 correct comma printing 2019-03-31 02:13:58 -06:00
Mark Thom
0aefcf7eae add op/3 to builtin predicates 2019-03-30 18:14:47 -06:00
Mark Thom
55a251d1c4 correct register threshold calculation. 2019-03-17 21:45:30 -06:00
Mark Thom
a6d3f39152 add ordsets library, domain.pl attributed variables example 2019-03-10 22:33:09 -06:00
Mark Thom
b1d061f76b eliminate generation of dynamic clauses when compiling term expansion clauses 2019-03-09 17:36:27 -07:00
Mark Thom
0d41b27abb remove dynamic code indices when modules are redefined. 2019-03-09 14:19:49 -07:00
Mark Thom
9f398b2552 perform term and goal expansion on asserted dynamic predicates inside modules 2019-03-09 13:41:33 -07:00
Mark Thom
870aa7651e propagate dynamic database changes to toplevel 2019-03-09 03:19:32 -07:00
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
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
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
e4cc54104e add another test, add unwind_protect! 2019-03-04 22:34:17 -07:00
Mark Thom
3d8c0a43a6 refactor to actual modules 2019-03-03 23:29:02 -07:00