Commit Graph

354 Commits

Author SHA1 Message Date
Mark Thom
04bc8ec084 print attributes of variables when attribute_goals/2 is not defined 2019-10-02 17:01:03 -06:00
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
239ffb205b expand goals in initialization directives. 2019-10-01 23:25:17 -06:00
Mark Thom
c0ad3231f5 eliminate extraneous choice point in $get_attr 2019-10-01 22:36:46 -06:00
Mark Thom
abc7498a42 add the initialization directive 2019-10-01 16:51:22 -06:00
Mark Thom
1ec831b2e2 limit scope of raw mode on stdout to allow interrupts to work 2019-09-30 14:09:02 -06:00
Mark Thom
b26c5c213e return to toplevel from a long running query after receiving Ctrl-C 2019-09-30 13:27: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
e8bac464d0 devour dangling whitespace before checking for EOF 2019-09-29 10:05:40 -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
Mark Thom
2c1c1b7d12 migrate to rustyline, add history support 2019-09-26 11:25:05 -06:00
Mark Thom
737acb7cde ignore single line comments after end token read 2019-09-25 22:40:31 -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
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