Commit Graph

109 Commits

Author SHA1 Message Date
Mark Thom
0d7a9f32d6 add open/3, write_term/3 2020-05-04 14:50:26 -06:00
Mark Thom
4f0adad78e remove string/1, use a more general test for the partial_string/1 type test (#328) 2020-04-11 22:47:52 -06:00
Mark Thom
6e4b76a3b4 compile special instructions for partial strings when recognized 2020-04-11 21:53:28 -06:00
Mark Thom
d76ae413c4 use fixnums in place of bignums where possible 2020-04-05 20:32:16 -06:00
Mark Thom
141f3bcec3 harmonize partial strings with complete strings (#276), make Addr a copyable type 2020-04-03 10:22:46 -06:00
Mark Thom
cac76d4739 Merge branch 'master' into develop 2020-03-26 22:01:25 -06:00
Mark Thom
194e5dc94e initial commit for merge 2020-03-26 22:01:23 -06:00
Mark Thom
057e2d8056 provide contextual information in the return value of try_in_situ_result 2020-03-19 20:41:58 -06:00
Mark Thom
4c88e97330 add current_output, printing of stream terms 2020-03-11 00:38:01 -06:00
Mark Thom
969bd8f82c remove partial strings, but represent strings as lists when warranted by double_quotes 2020-02-12 22:12:42 -07:00
Mark Thom
740bd528c4 add multifile and module scoped predicates 2020-02-02 22:13:14 -07:00
Mark Thom
196784bd09 change goal and term expansions, change call/N to use goal expansions 2019-12-10 21:36:02 -07:00
Mark Thom
ed985c3cfe move more of the toplevel from rust into prolog 2019-11-16 00:26:15 -07: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
380aae85bd add wam_instructions/2 to render predicate instructions as lists of functors 2019-09-22 16:06:50 -06:00
Mark Thom
f344150322 revamp evaluable functors, add missing evaluable functors 2019-05-12 20:14:00 -04:00
Mark Thom
2a69a74319 minor fixes 2019-04-17 21:31:00 -06:00
Mark Thom
465f2cc6e5 make return_from_clause macro respect verify_attributes 2019-04-14 23:15:59 -06:00
Mark Thom
32c8a5e55f index inlined and builtin clausetypes inside a BTreeMap 2019-03-26 21:59:50 -06:00
Mark Thom
527ac606e9 bb_put/2 and bb_get/2 2019-03-12 22:38:47 -06:00
Mark Thom
e4cc54104e add another test, add unwind_protect! 2019-03-04 22:34:17 -07:00
Mark Thom
818a971833 start enabling the dynamic database 2019-02-28 21:49:07 -07:00
Mark Thom
046569b6a9 flatten CompiledQuery and CompiledFact in Code, remove CompiledQuery 2019-02-06 22:25:41 -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
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
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
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
32439a1da5 transition to MachineCodeIndices internally 2018-09-08 02:31:33 -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
abcb53699a finalize support for partial strings 2018-09-02 23:32:51 -06:00
Mark Thom
ebd62a2c91 add slightly more descriptive syntax errors 2018-08-30 00:35:42 -06:00
Mark Thom
c1ad5cd33f get rid of dynamic lookup for
$call_with_default_policy.
2018-08-12 23:14:28 -06:00
Mark Thom
cd03b7795f finalize the module resolution operator. 2018-07-08 15:21:09 -06:00
Mark Thom
0abd075b0b complete trimdown of listing compilation. 2018-07-01 18:14:45 -06:00
Mark Thom
870316b0d1 get rid of LocalMachineCodeIndex 2018-06-24 23:32:50 -06:00
Mark Thom
07ec2d34c8 hacky workaround 2018-05-28 20:07:34 -06:00
Mark Thom
06d896277c major refactor 2018-05-15 22:47:36 -06:00
Mark Thom
9a88d179d1 remove IsClause 2018-05-14 16:43:49 -06:00
Mark Thom
175a5db5d7 parse the list functor 2018-05-13 14:10:48 -06:00
Mark Thom
5690409534 correct faulty bind (two tests now fail: conjunctive_queries and lists) 2018-05-12 15:51:20 -06:00
Mark Thom
7455c2e9db add support for callable if-then and disjunct 2018-05-12 00:30:34 -06:00
Mark Thom
ba7e7ac895 throw exception when call-ing a system instruction. 2018-05-10 23:08:56 -06:00
Mark Thom
5a631c17c7 make system calls exempt from call policy. 2018-05-10 22:24:15 -06:00
Mark Thom
bae107f8cd eliminate need for embedded, handwritten WAM code. 2018-05-09 22:58:23 -06:00
Mark Thom
24d6fb16a8 add system call preliminaries 2018-05-07 22:29:02 -06:00