Commit Graph

1034 Commits

Author SHA1 Message Date
Mark Thom
516c66a47d properly handle undefined predicates declared dynamic 2019-10-02 22:01:32 -06:00
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
ccd3dfb436 properly expand goals in initialization directives 2019-10-02 15:09:34 -06:00
Mark Thom
b12ba338df remove readline_compat_rs reference from README 2019-10-02 11:33:28 -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
ecb2cc3518 fix improper consolidation of DCG variables 2019-09-30 12:21:53 -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
529b664bf3 Merge pull request #164 from triska/master
ADDED: library(si) for safe type tests.
2019-09-25 22:52:11 -06:00
Mark Thom
737acb7cde ignore single line comments after end token read 2019-09-25 22:40:31 -06:00
Markus Triska
930e9a9e82 ADDED: library(si) for safe type tests. 2019-09-25 23:17:50 +02:00
Mark Thom
e108b844bd Merge pull request #151 from Atul9/cargo-fmt
Format code using 'cargo fmt'
2019-09-23 11:56:51 -03: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
4cfab7aff8 Merge branch 'master' of https://github.com/mthom/rusty-wam 2019-09-17 22:50: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
3e3031bb9d Merge pull request #159 from XVilka/patch-1
Create Travis CI config
2019-09-12 22:04:57 -03:00
Anton Kochkov
a46a9a707d Create Travis CI config 2019-09-12 15:46:40 +08: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
a757b92c9d fix read module if readline is not present 2019-09-03 15:18:43 -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
07412b9d34 add fail predicate 2019-06-20 20:59:27 -04:00
Mark Thom
b2fed73011 re: issue #144 2019-06-16 01:25:42 -04:00
Mark Thom
39d5e6a2f9 correct for issue #145 2019-06-14 09:00:43 -04:00
Mark Thom
4fd70e9c6d correct bug in between.pl, re: #146 2019-06-09 12:12:34 -04:00
Mark Thom
ea9cfa6d40 pass more numbers by reference 2019-05-25 00:16:07 -04:00
Mark Thom
1baf772b1c pass Number's by reference when possible 2019-05-22 19:48:34 -04:00
Mark Thom
e66d5c7b31 correct #68 in variable_names conformity tests 2019-05-13 23:37:03 -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
Mark Thom
f988b67403 print full list in erroneous variable_names 2019-05-09 22:56:15 -04:00
Mark Thom
7fef8a3e86 correct variable_names culprit 2019-05-08 19:58:05 -04:00
Mark Thom
3f07178312 Merge pull request #138 from XVilka/unmut
Unmut
2019-05-08 09:45:13 -04:00
Anton Kochkov
13215f8c35 Add .gitignore 2019-05-08 14:09:44 +08:00
Anton Kochkov
580dc761d5 Remove unnecessary mutability 2019-05-08 14:09:33 +08:00
Mark Thom
6240f04769 correct error reporting for variable_names write option 2019-05-06 22:45:32 -04:00
Mark Thom
da17d3070d update version number, correct printer 2019-05-06 22:14:38 -04:00