Commit Graph

339 Commits

Author SHA1 Message Date
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
40500ca2d6 print line numbers to trace the location of parsing errors 2019-09-17 22:50:32 -06:00
Mark Thom
9d2ac9e235 address issue #153 2019-09-05 22:43:50 -06:00
Mark Thom
4b22f80a77 check for and load .scryerrc from the user's home directory 2019-09-04 23:30:48 -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
Mark Thom
39d5e6a2f9 correct for issue #145 2019-06-14 09:00:43 -04:00
Mark Thom
1baf772b1c pass Number's by reference when possible 2019-05-22 19:48:34 -04:00
Mark Thom
d5223b9bbd fix min/1, max/1 2019-05-13 18:11:27 -04:00
Mark Thom
59ab4cd67c process float/1 and pi/0 2019-05-12 22:21:29 -04:00
Mark Thom
f344150322 revamp evaluable functors, add missing evaluable functors 2019-05-12 20:14:00 -04:00
Anton Kochkov
580dc761d5 Remove unnecessary mutability 2019-05-08 14:09:33 +08:00
Mark Thom
3547ae2db4 quote solo characters wherever they lead atoms 2019-05-05 22:48:19 -04:00
Mark Thom
bf8a2ab6a6 add variable_names as a write option 2019-05-05 00:58:56 -04:00
Mark Thom
b05cff3044 improve matching on partial strings as lists 2019-04-30 21:30:28 -06:00
Mark Thom
3fd274c583 add remaining atomic term processing builtins, rename (=@=)/2 to variant/2, address issue #133 2019-04-30 20:55:53 -06:00
Mark Thom
fb023c99c1 respect ambiguity with ., add ... to indicate more answers 2019-04-29 22:44:53 -06:00
Mark Thom
14d629492d add unify_with_occurs_check/2 2019-04-28 22:23:34 -06:00
Mark Thom
9dbadac14f correct various bugs 2019-04-28 21:09:56 -06:00
Mark Thom
918da4f423 fix odd response, toplevel issues 2019-04-28 17:19:16 -06:00
Mark Thom
6be03a7f7a add number_chars/2 2019-04-28 14:36:38 -06:00
Mark Thom
e135063325 speed up unification 2019-04-27 23:39:19 -06:00
Mark Thom
531d8b3352 re: issue #120 2019-04-27 00:40:00 -06:00
Mark Thom
b07a19fc47 address issues #114, #115 2019-04-25 09:10:52 -06:00
Mark Thom
18a9a6434f delay attributed variables goal, naively correct dif/2 2019-04-24 20:37:31 -06:00
Mark Thom
b102749220 move setup_call_cleanup/3 and call_with_inference_limit/3 to non_iso 2019-04-23 08:40:10 -06:00
Mark Thom
a5dc7f2387 various fixes 2019-04-22 21:28:33 -06:00
Mark Thom
535465fcd4 use binary_pow for (^)/2 2019-04-22 19:49:04 -06:00
Mark Thom
f9448e894e use binary_pow for (^)/2 2019-04-22 19:48:09 -06:00
Mark Thom
f745b077a9 instantiate variables in numerical comparisons 2019-04-22 18:54:03 -06:00
Mark Thom
c8c8c5abae address issues #104, #105, #103 2019-04-20 20:13:19 -03:00
Mark Thom
e089c8bdd2 fix conformity testing #274 2019-04-18 20:32:50 -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
fb0b7085b4 fix more conformity errors 2019-04-06 17:44:04 -06:00
Mark Thom
16eadc7412 correct for issues #88, #89, #90, conformity test #208. 2019-04-06 09:46:42 -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
272b4f6d8d add current_op/3 2019-04-05 21:25:49 -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
535a6c17e9 move forall/2 to non_iso, correct test cases. 2019-04-03 18:12:36 -06:00
Mark Thom
b6a5254e35 re: #80, #52 2019-04-01 22:05:30 -06:00
Mark Thom
e3e0473b69 fix term_variables, add (^)/2 as an actual evaluable functor 2019-04-01 09:04:50 -06:00
Mark Thom
2240418a25 re: #75, #52 2019-03-31 22:30:42 -06:00
Mark Thom
df5e538dc6 add structural tests for strings as char code lists 2019-03-31 20:11:20 -06:00
Mark Thom
a15ebd20c1 add support for char codes 2019-03-31 19:48:40 -06:00
Mark Thom
701cbc7a19 do a better job recognizing and bracketing operators 2019-03-31 11:35:19 -06:00
Mark Thom
a2f531eeb7 correct comma printing 2019-03-31 02:13:58 -06:00
Mark Thom
35e91ee47c make op/3 a predicate call from the query context 2019-03-31 00:29:53 -06:00