Commit Graph

861 Commits

Author SHA1 Message Date
Mark Thom
ca27234275 deallocate old stack frames (#201), start using tags, fix a panic! associated with partial strings v0.8.110 2019-10-15 22:54:12 -06:00
Mark Thom
9f7d89a3e8 re: issue #199 2019-10-15 02:37:01 -06:00
Mark Thom
c4269b87c2 re: issues #200, #201 2019-10-15 00:42:55 -06:00
Mark Thom
be7f855d7a Merge pull request #198 from XVilka/patch-2
Fix #139 - Run tests on Travis
2019-10-14 10:18:43 -03:00
Mark Thom
734f103f0a Merge pull request #197 from dingelish/edition
Upgrade to edition
2019-10-14 10:18:18 -03:00
Anton Kochkov
cdc47c1a7b Run tests on Travis 2019-10-14 17:46:09 +08:00
Yu Ding
adb469f627 Upgrade to edition. Bump up edition in Cargo.toml 2019-10-14 00:23:32 -07:00
Mark Thom
7f297eb064 Merge pull request #191 from dingelish/master
Fix some old Rust codes
2019-10-14 00:59:03 -03:00
Mark Thom
83ead46e13 re: issue #196 2019-10-14 00:07:22 -06:00
Mark Thom
da89b1af63 handle TCO when setting up verify_attributes interrupts 2019-10-13 14:13:52 -06:00
Mark Thom
249b613e36 remove nondeterminism from put_atts as a result of lists.pl reversion 2019-10-12 19:57:08 -06:00
Mark Thom
1d41489381 correct off by 1 error in verify_attrs_interrupt, revert to previous lists.pl 2019-10-12 19:14:33 -06:00
Mark Thom
8c4c70b089 fix verify_attributes_stepper bug: proceed now considered a head instruction 2019-10-12 03:26:50 -06:00
Mark Thom
5893ff4231 correct latest out of bounds panic, use first argument indexing in maplists/{2..9} 2019-10-12 01:20:42 -06:00
Yu Ding
9b789629c9 Fix some old Rust codes
Done by cargo fix using nightly-2019-10-04 toolchain. Fixed ... to ..=, trait object to dyn trait object
2019-10-09 14:56:50 -07:00
Mark Thom
f898b98b06 copy terms to global variable blackboard, fix attribute_goals//1 2019-10-09 14:11:31 -06:00
Mark Thom
3409db010f fix several issues with goal expansion, crashing after attribute_goals is called 2019-10-08 12:28:23 -06:00
Mark Thom
673fb31ae2 update prolog_parser to v0.8.33 2019-10-06 12:02:47 -06:00
Mark Thom
93d1cd1b09 implement DCGs using the logical expansion of the draft proposal 2019-10-05 00:17:57 -06:00
Mark Thom
3fa168d35b fixes for issues #185 and #181 2019-10-04 20:03:03 -06:00
Mark Thom
1569cac98f correct dcg handling of cuts 2019-10-04 15:41:48 -06:00
Mark Thom
d4f9d18149 print errors with line numbers in GNU style 2019-10-04 15:32:26 -06:00
Mark Thom
caeff99f69 perform singleton variable scans on top level terms only 2019-10-04 10:38:45 -06:00
Mark Thom
0a84f183fe make attribute_goals a nonterminal 2019-10-03 23:29:18 -06:00
Mark Thom
b61ed65208 fix goal expansion in disjunctions, add warnings for singleton variables 2019-10-03 22:13:34 -06:00
Mark Thom
02d1ed237f don't add default index for dynamic predicates unless defined at toplevel 2019-10-02 22:30:00 -06:00
Mark Thom
a2655864c6 update version 2019-10-02 22:13:31 -06:00
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