Mark Thom
|
d69b7f41f2
|
add '$remove_module_exports' to loader.rs
|
2021-02-18 14:08:25 -07:00 |
|
Mark Thom
|
f5ad845d57
|
try to canonicalize to absolute path in current_dir(), use it in setting LoadContext directories (#821)
|
2021-02-17 18:49:51 -07:00 |
|
Mark Thom
|
2a70ca375c
|
restore support for tabling and delimited continuations (#779)
|
2021-02-17 16:18:49 -07:00 |
|
Mark Thom
|
396c589743
|
add second term expansion to capture the addition of hook predicates to the expansion process in loader.pl, loader.rs
|
2021-02-17 15:39:52 -07:00 |
|
Mark Thom
|
6b6666be47
|
support discontiguous and multifile declarations
|
2021-02-16 22:08:32 -07:00 |
|
Mark Thom
|
e2a413df78
|
compile scoped clauses from loader.pl
|
2021-02-13 19:41:04 -07:00 |
|
Mark Thom
|
b24f68eee7
|
remove vestigial uses of constant_eq
|
2021-02-11 19:22:03 -07:00 |
|
Mark Thom
|
72c1a0222c
|
Box LoadStatePayload when storing it in the heap
|
2021-02-11 19:21:20 -07:00 |
|
Mark Thom
|
e7cf5d4f3d
|
use machine-generated PartialEq instance for hashing Constant (#817)
|
2021-02-11 18:40:23 -07:00 |
|
Mark Thom
|
2429971bcd
|
update call/N indices in user-level code_dir in addition to those of pre-loaded modules
|
2021-02-11 15:38:30 -07:00 |
|
Mark Thom
|
195273f01d
|
throw exceptions when modules do not contain claimed exports
|
2021-02-09 12:17:34 -07:00 |
|
Mark Thom
|
cc7e21170f
|
correct faulty removal of clauses in abolish/1
|
2021-02-08 19:02:26 -07:00 |
|
Mark Thom
|
1dabe95899
|
remove tidy_trail
|
2021-02-07 15:39:48 -07:00 |
|
Mark Thom
|
df82dbe5f5
|
use parent() instead of ancestors().next() in load_context_directory()
|
2021-02-07 13:51:01 -07:00 |
|
Skgland
|
5041042925
|
rename prolog_parser_rebis to prolog_parser
also remove remaining extern crate statements that slipped through earlier
|
2021-02-06 22:13:34 +01:00 |
|
Skgland
|
3f7a60d84b
|
more clippy lints
|
2021-02-06 22:13:06 +01:00 |
|
Skgland
|
64433bd8dd
|
fix macro hygien
|
2021-02-06 22:13:04 +01:00 |
|
Skgland
|
8e5954f36f
|
remove use statements from main.rs that temporary replaced extern crate and fixed paths that previously used them
|
2021-02-06 22:13:04 +01:00 |
|
Skgland
|
b53ef148a0
|
remove extern crate declaration and fix outfall (macros now need to be imported into scope)
using use declarations in main.rs so that use paths don't need to be updated as well, this will be done in a later commit
|
2021-02-06 22:12:31 +01:00 |
|
Mark Thom
|
3f950490f9
|
set rustyline to check the cursor position (#802), don't add .pl extension to files in loader.pl (#800)
|
2021-02-06 13:47:26 -07:00 |
|
Mark Thom
|
a104b35cea
|
gather initialization goals and call them once load succeeds (#792)
|
2021-02-05 18:42:30 -07:00 |
|
Mark Thom
|
bbbf95705b
|
implement abolish/1
|
2021-02-05 18:35:06 -07:00 |
|
Mark Thom
|
62419e975f
|
bootstrap the top-level by calling ''/1 as in master (#790)
|
2021-02-05 17:16:42 -07:00 |
|
Mark Thom
|
3fc2c4223b
|
delay premature set_switch_var_offset_* calls in retract_clause, add module resolution for asserta/assertz/retract/clause
|
2021-02-05 17:12:25 -07:00 |
|
Mark Thom
|
1bc8e9aebf
|
make load_context_path/2 handle .pl file extensions, remove commented out code
|
2021-02-05 13:13:54 -07:00 |
|
Mark Thom
|
2d7f31a60d
|
implement dynamic, multifile, and discontiguous properties and callable type checking for predicate_property/2
|
2021-02-05 02:16:14 -07:00 |
|
Mark Thom
|
804858d736
|
remove defunct reset function (#782)
|
2021-02-04 21:02:37 -07:00 |
|
Mark Thom
|
75a52f032b
|
perform goal expansion in call/N (#788, #797)
|
2021-02-04 20:40:48 -07:00 |
|
Mark Thom
|
f3ab17a3c0
|
Merge branch 'master' into rebis-dev
|
2021-02-03 12:00:00 -07:00 |
|
Mark Thom
|
f5d808e68f
|
do not traverse data structures when binding to local variables in unify_with_occurs_check (#781)
|
2021-02-03 11:11:22 -07:00 |
|
Mark Thom
|
88f1160e2b
|
use find_inner_choice_instr when appending an indexed clause to an indexed subsequence
|
2021-02-03 01:22:13 -07:00 |
|
Mark Thom
|
e928a0aaea
|
expand attributed variable goals
|
2021-02-02 21:47:59 -07:00 |
|
Mark Thom
|
a2447ecaa3
|
replace Char '!' with QueryTerm::BlockedCut
|
2021-02-02 21:03:26 -07:00 |
|
Mark Thom
|
09a089d5f1
|
set target_pos' clause_start correctly in append_compiled_clause
|
2021-02-02 21:02:08 -07:00 |
|
Mark Thom
|
4e29099ed9
|
export loader's public predicates from builtins, handle module resolution from DCGs
|
2021-02-02 15:43:52 -07:00 |
|
Mark Thom
|
8900df6f13
|
add built_in to predicate_property
|
2021-02-02 15:03:14 -07:00 |
|
Mark Thom
|
e1ec4bee75
|
move term expansion logic entirely into loader.pl
|
2021-02-01 16:50:05 -07:00 |
|
Mark Thom
|
6ed7767512
|
add module scoping to predicate_property, expand subgoals in module resolved predicates
|
2021-02-01 16:09:19 -07:00 |
|
Mark Thom
|
08b18af8a0
|
call attribute variable goals with module resolution
|
2021-02-01 14:48:13 -07:00 |
|
Mark Thom
|
75908ab88f
|
replace (:) with 0 in meta-predicate declarations, remove support for (:) in meta-predicate declarations
|
2021-01-31 18:00:10 -07:00 |
|
Mark Thom
|
61b14d1cd9
|
fix bug in append_compiled_clause, generalize merging indexed subsequences of clauses
|
2021-01-31 01:18:45 -07:00 |
|
Mark Thom
|
a239007db0
|
target prolog_parser_rebis on crates.io
|
2021-01-30 22:03:07 -07:00 |
|
Mark Thom
|
a4d15bfb88
|
move to a predicate-based module system, move to loader.[rs|pl]-based compilation, add support for incremental clause compilation
|
2021-01-30 21:07:51 -07:00 |
|
Adrián Arroyo Calle
|
1d538ee70c
|
Fix Beta
|
2021-01-16 22:32:50 +01:00 |
|
Mark Thom
|
01f73b11d8
|
fix bug in code walker causing entire clauses to be skipped (#736)
|
2020-12-26 22:35:28 -07:00 |
|
notoria
|
657e4f12bb
|
Implemented a different way to index clauses
|
2020-12-19 14:52:38 +01:00 |
|
brightly-salty
|
4854da4805
|
Replace dirs with dirs-next
|
2020-12-15 06:59:26 -06:00 |
|
Mark Thom
|
b9a53e441e
|
support number/1
|
2020-11-03 23:38:55 -07:00 |
|
Mark Thom
|
323e9c3eb3
|
refactor SystemClauseType::Open in anticipation of #614
|
2020-09-05 18:57:03 -06:00 |
|
Markus Triska
|
78656d220b
|
FIXED: reliably write all characters when using format/3
This addresses #693.
Many thanks to @notoria for a brilliant test case, and the
suggestion of this correction!
|
2020-09-02 19:29:04 +02:00 |
|