Commit Graph

41 Commits

Author SHA1 Message Date
Mark Thom
f745b077a9 instantiate variables in numerical comparisons 2019-04-22 18:54:03 -06:00
Mark Thom
ae90554378 read from streams. 2019-04-13 18:40:17 -06:00
Mark Thom
fb0b7085b4 fix more conformity errors 2019-04-06 17:44:04 -06:00
Mark Thom
e3e6f926c7 add atom_length/2, atom_chars/2, atom_codes/2 2019-04-05 23:00:53 -06:00
Mark Thom
03f2190d6b remove $reify_switch 2019-04-05 09:04:05 -06:00
Mark Thom
3912a4772d fix conformity errors 2019-04-04 22:51:00 -06:00
Mark Thom
0aefcf7eae add op/3 to builtin predicates 2019-03-30 18:14:47 -06: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
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
3d8c0a43a6 refactor to actual modules 2019-03-03 23:29:02 -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
b7dd76bf37 add library(reif) 2019-02-16 16:34:38 -07:00
Mark Thom
0dabb3f370 add op info to structures and atoms 2019-01-19 22:27:40 -07:00
Mark Thom
f226cb3dbd correct conformity errors 2018-09-16 14:11:21 -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
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
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
Mark Thom
dc91f46d83 use reference to match on SyntaxError, re: #45 2018-08-28 14:30:50 -03:00
Mark Thom
92e338861d add clean errors for read, re: #45 2018-08-26 20:34:43 -06:00
Mark Thom
cd03b7795f finalize the module resolution operator. 2018-07-08 15:21:09 -06:00
Mark Thom
4608c4fe58 fix offsetting of heap in existence errors 2018-05-20 16:26:52 -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
ba7e7ac895 throw exception when call-ing a system instruction. 2018-05-10 23:08:56 -06:00
Mark Thom
b09c20670b shift to builtins 2018-05-08 22:38:49 -06:00
Mark Thom
d6495c8195 add support for printing cyclic terms. 2018-05-05 01:53:05 -06:00
Mark Thom
11800532c9 fix errors emitted by sort and keysort, add tests, add support for Max = -1 to '$skip_max_list' 2018-05-03 20:15:45 -06:00
Mark Thom
29356fbc3b Merge branch 'master' of http://github.com/mthom/rusty-wam 2018-05-03 17:37:12 -06:00
Mark Thom
e7c2c2cedd correct sort/keysort refusing [] 2018-05-03 17:36:59 -06:00
Mark Thom
76bae21ff6 correct keysort type error (re: #34) 2018-05-03 11:52:33 -06:00
Mark Thom
df1421dae8 remove unnecessary store/deref in keysort error checking 2018-05-02 21:54:09 -06:00
Mark Thom
d69bc4ed10 fix keysort error detection bugs 2018-05-02 21:52:34 -06:00
Mark Thom
3c72441f68 add proper error messages for keysort and sort, (re: issues #30, #32) 2018-05-02 21:33:03 -06:00
Mark Thom
0dec988337 add error handling appartus 2018-05-02 21:24:43 -06:00