2a70ca375c
restore support for tabling and delimited continuations (#779)
Mark Thom2021-02-17 16:18:49 -07:00
396c589743
add second term expansion to capture the addition of hook predicates to the expansion process in loader.pl, loader.rs
Mark Thom2021-02-17 15:39:52 -07:00
7670b81633
remove VNs variable from loader.pl
Mark Thom2021-02-17 13:31:58 -07:00
f9b98f97b6
remove unnecessary cause of failure in parser, qualify call to op_/3 in builtins.pl
Mark Thom2021-02-17 11:56:58 -07:00
00bf39204d
add missing variable checks in various places
Mark Thom2021-02-17 11:12:19 -07:00
e9ba3ad223
handle user:goal_expansion, but not Target:goal_expansion, explicitly in loader.pl
Mark Thom2021-02-17 01:15:29 -07:00
6b6666be47
support discontiguous and multifile declarations
Mark Thom2021-02-16 20:54:51 -07:00
e2a413df78
compile scoped clauses from loader.pl
Mark Thom2021-02-13 19:41:04 -07:00
b24f68eee7
remove vestigial uses of constant_eq
Mark Thom2021-02-11 19:22:03 -07:00
72c1a0222c
Box LoadStatePayload when storing it in the heap
Mark Thom2021-02-11 19:21:20 -07:00
bd97083268
remove unused is_internal function from indexing.rs
Mark Thom2021-02-11 18:51:21 -07:00
e7cf5d4f3d
use machine-generated PartialEq instance for hashing Constant (#817)
Mark Thom2021-02-11 18:40:07 -07:00
2429971bcd
update call/N indices in user-level code_dir in addition to those of pre-loaded modules
Mark Thom2021-02-11 15:38:30 -07:00
170a71bd02
offset SwitchOnTerm's Internal indices only if the proper instructions were emitted
Mark Thom2021-02-11 15:38:16 -07:00
14efbb1356
roll back extent of heap when loads are complete in loader.pl
Mark Thom2021-02-11 15:37:43 -07:00
20cd0dd77a
use IndexMap over HashMap in prolog_parser
Mark Thom2021-02-11 15:35:14 -07:00
2db1fac1eb
break out of the first inner loop if constants contains no key in remove_constant_indices (#816)
Mark Thom2021-02-10 14:13:37 -07:00
ce8490ed41
Merge pull request #813 from triska/rebis-dev
Mark Thom2021-02-09 17:57:08 -07:00
7e208984de
reset merging_ptr offset before insertion of each overlapping constant (#816)
Mark Thom2021-02-09 17:18:00 -07:00
4d29a3ae3c
check for control functors (,/;/->) before jumping to internal interpretation (#815)
Mark Thom2021-02-09 16:40:25 -07:00
547c63b28e
qualify exception handling code in loader.pl (#809)
Mark Thom2021-02-09 15:47:14 -07:00
bc6159c538
change prolog_parse_rebis to use 2018 edition rust
Skgland2021-02-06 19:32:52 +01:00
8e5954f36f
remove use statements from main.rs that temporary replaced extern crate and fixed paths that previously used them
Skgland2021-02-06 19:30:46 +01:00
b53ef148a0
remove extern crate declaration and fix outfall (macros now need to be imported into scope)
Skgland2021-02-06 19:21:24 +01:00
3f950490f9
set rustyline to check the cursor position (#802), don't add .pl extension to files in loader.pl (#800)
Mark Thom2021-02-06 13:47:26 -07:00
49b1c1368e
remove dynamic clause declaration for clause internal
Mark Thom2021-02-05 23:16:42 -07:00
bdb5df104a
shed module names from arguments of the (->)/2, (,)/2, (;)/2 predicates
Mark Thom2021-02-05 22:50:57 -07:00
2d7f31a60d
implement dynamic, multifile, and discontiguous properties and callable type checking for predicate_property/2
Mark Thom2021-02-05 02:16:14 -07:00
e17eb01f76
respect module context in expand_module_names (#788)
Mark Thom2021-02-03 16:47:04 -07:00
2fe55e4715
resolve calls to tranpose_ and same_length in lists.pl (#790)
Mark Thom2021-02-03 16:38:44 -07:00
a8a82e45a0
introduce cuts over indexed (:)/2 of dcgs:phrase_/3 (#786)
Mark Thom2021-02-03 16:03:12 -07:00
fcba140ffe
Merge pull request #787 from triska/rebis-dev
Mark Thom2021-02-03 15:51:15 -07:00
b96ff781bc
add meta_predicate declaration for must_succeed/1
Markus Triska2021-02-03 23:49:28 +01:00
94392f248c
enable phrase_ rules for module resolved grammars (#785)
Mark Thom2021-02-03 15:48:09 -07:00
24e6c31c44
add meta_predicate declaration for with_local_attributes/3
Markus Triska2021-02-03 23:45:06 +01:00
cab0e4395a
manually expand module names in higher-order predicates of lists.pl and give call_residue_vars/2 a meta-predicate definition
Mark Thom2021-02-03 15:37:16 -07:00
ae66e299e6
Use term expansion for generated predicates.
Markus Triska2021-01-08 17:28:29 +01:00
4e29099ed9
export loader's public predicates from builtins, handle module resolution from DCGs
Mark Thom2021-02-02 15:43:52 -07:00
8900df6f13
add built_in to predicate_property
Mark Thom2021-02-02 15:03:14 -07:00
814c034683
add meta-predicate declarations before their definitions
Mark Thom2021-02-01 19:26:50 -07:00
e1ec4bee75
move term expansion logic entirely into loader.pl
Mark Thom2021-02-01 16:50:05 -07:00
6ed7767512
add module scoping to predicate_property, expand subgoals in module resolved predicates
Mark Thom2021-02-01 16:09:19 -07:00
08b18af8a0
call attribute variable goals with module resolution
Mark Thom2021-02-01 14:48:13 -07:00
75908ab88f
replace (:) with 0 in meta-predicate declarations, remove support for (:) in meta-predicate declarations
Mark Thom2021-01-31 18:00:10 -07:00
fcba33997f
Merge branch 'master' into rebis-dev
Mark Thom2021-01-31 12:41:18 -07:00