Mark Thom
|
b98e8c34eb
|
findall/4 should be declared as a meta-predicate (#873)
|
2021-03-17 18:13:06 -06:00 |
|
Mark Thom
|
5c2059b4e8
|
issue an imcomplete reduction error if stream ends with tokens remaining to be parsed (#871)
|
2021-03-17 14:23:34 -06:00 |
|
Mark Thom
|
5f7abda22d
|
remove operators declared at user-level from files when reloading
|
2021-03-16 18:30:34 -06:00 |
|
Mark Thom
|
51424aed32
|
clear user-level definitions when reloading a file (#455)
|
2021-03-16 02:30:09 -06:00 |
|
Mark Thom
|
914fb09ed0
|
don't warn about overwriting a clause asserted to a dynamic predicate whose clauses have all been retracted (#870)
|
2021-03-15 14:22:54 -06:00 |
|
Mark Thom
|
7ea7e5c951
|
remove intra-module predicates from module code directory when module is being re-defined (#848)
|
2021-03-13 23:22:24 -07:00 |
|
Mark Thom
|
c69807b416
|
Merge pull request #866 from Skgland/add_tests
Add tests for some recently closed Issues
|
2021-03-13 00:39:01 -07:00 |
|
Mark Thom
|
d4d47182b4
|
fix is_cyclic_term (#864)
|
2021-03-10 16:11:48 -07:00 |
|
Mark Thom
|
bc2d0191ff
|
Merge pull request #861 from notoria/mod
Small improvement for mod in CLP(Z)
|
2021-03-10 13:52:48 -07:00 |
|
Mark Thom
|
ceac824e2b
|
Merge pull request #862 from notoria/xor
Implemented a propagator for xor in CLP(Z)
|
2021-03-09 12:33:06 -07:00 |
|
Mark Thom
|
fa025bcf39
|
Merge pull request #858 from triska/master
CLP(B) correction
|
2021-03-05 12:57:20 -07:00 |
|
Mark Thom
|
0a71e40030
|
qualify '$print_project_attributes_exception' call (#857)
|
2021-03-05 01:14:56 -07:00 |
|
Mark Thom
|
1b9db035ba
|
call project_attributes from top-level (#846)
|
2021-03-04 16:05:06 -07:00 |
|
Mark Thom
|
34c3035c2b
|
Merge pull request #856 from triska/master
Improvements for library(format)
|
2021-03-04 13:53:25 -07:00 |
|
Mark Thom
|
a2e5bcc137
|
Merge pull request #854 from triska/master
Better indentation for nested ( If -> Then ; Else ) constructs
|
2021-03-03 16:11:03 -07:00 |
|
Mark Thom
|
d3612e956e
|
catch exceptions thrown from initialization goals (#852)
|
2021-03-03 13:56:13 -07:00 |
|
Mark Thom
|
5a3ee3a46e
|
has_tail must be false for use as a filename from open/{3,4}
|
2021-03-03 12:16:47 -07:00 |
|
Mark Thom
|
23cb743ce2
|
Merge pull request #851 from Skgland/fix_num_test2
Workaround to make num tests work
|
2021-03-02 23:36:59 -07:00 |
|
Mark Thom
|
73eb4079ef
|
Merge pull request #849 from triska/master
Remove duplicated definitions
|
2021-03-02 11:59:22 -07:00 |
|
Mark Thom
|
7ea9706c94
|
warn when overwriting a predicate (#848)
|
2021-03-02 11:43:47 -07:00 |
|
Mark Thom
|
5976e2d873
|
do not check for non-unifiability in dif:attribute_goals, which is sure to succeed, resulting in no goals being printed at top-level (#844)
|
2021-03-02 10:34:25 -07:00 |
|
Mark Thom
|
d32d452583
|
Merge pull request #845 from triska/master
explain the new occurs_check flag
|
2021-03-01 11:45:53 -07:00 |
|
Mark Thom
|
e8971e0d8b
|
use atom_chars to convert .scryerrc path string to atom
|
2021-02-28 23:26:22 -07:00 |
|
Mark Thom
|
498c4660d0
|
use plain ! while interpreting control functors in metacalls (#724)
|
2021-02-28 19:12:35 -07:00 |
|
Mark Thom
|
54c142fc0d
|
apply expand_module_names to call(A) goals
|
2021-02-28 19:01:36 -07:00 |
|
Mark Thom
|
6079402dc4
|
suppress tabled/2 existence errors in tabling library, do not print evaluation errors generated by term and goal expansion in loader.pl
|
2021-02-28 18:56:24 -07:00 |
|
Mark Thom
|
3d4a7f97e1
|
Merge pull request #843 from mthom/rebis-dev
Merge rebis-dev into master
|
2021-02-28 18:33:24 -07:00 |
|
Mark Thom
|
d6e04beb95
|
check that Module is an atom before calling Module:goal_expansion/2
|
2021-02-28 18:28:12 -07:00 |
|
Mark Thom
|
9a225e6244
|
wrap variable goals in module-expanded call/1
|
2021-02-28 18:15:33 -07:00 |
|
Mark Thom
|
a03f00628b
|
do not print error messages if .scryerrc[.pl] does not exist (#842)
|
2021-02-28 17:57:35 -07:00 |
|
Mark Thom
|
360485d830
|
print errors arising from term and goal expansion calls from loader.pl
|
2021-02-28 16:19:37 -07:00 |
|
Mark Thom
|
3f1cfd2995
|
introduce bind_fn, use in applicable Fact/Query instructions (#841)
|
2021-02-28 16:19:06 -07:00 |
|
Mark Thom
|
08e2b601f1
|
pop non-composite terms from iter stack in is_cyclic_term
|
2021-02-28 12:28:19 -07:00 |
|
Mark Thom
|
101ed9a633
|
add error value to occurs_check prolog flag (#783)
|
2021-02-28 11:44:23 -07:00 |
|
Mark Thom
|
81ecd17b93
|
Merge pull request #838 from Skgland/librarify
Split main.rs into lib.rs and bin/scryer-prolog.rs
|
2021-02-28 11:39:24 -07:00 |
|
Mark Thom
|
f935060b2b
|
restore .scryerrc loading
|
2021-02-28 11:03:55 -07:00 |
|
Mark Thom
|
a367812348
|
add occurs_check flag (#309)
|
2021-02-28 10:41:32 -07:00 |
|
Mark Thom
|
8e6a89b279
|
enable op declarations with lists of operands using term expansion (#839)
|
2021-02-28 09:15:03 -07:00 |
|
Mark Thom
|
0747697d10
|
add lines read from devour_whitespace (#836)
|
2021-02-28 02:09:53 -07:00 |
|
Mark Thom
|
8c7494885f
|
set compilation_target of assert loader to match that of predicate qualifier
|
2021-02-28 00:27:50 -07:00 |
|
Mark Thom
|
590a0b8077
|
update the parser with the number of lines already read by the underlying stream (#836)
|
2021-02-27 23:56:58 -07:00 |
|
Mark Thom
|
064d261357
|
implement logical update semantics for dynamic database predicates
|
2021-02-27 23:33:10 -07:00 |
|
Mark Thom
|
adb96710bf
|
Merge pull request #837 from triska/rebis-dev
Small improvements for Rebis
|
2021-02-25 15:17:16 -07:00 |
|
Mark Thom
|
3eb6357892
|
Merge pull request #835 from triska/lambda
ADDED: library(lambda) by Ulrich Neumerkel
|
2021-02-25 14:26:41 -07:00 |
|
Mark Thom
|
4d72845c58
|
add copy_term_nat/2 (#795)
|
2021-02-22 22:39:34 -07:00 |
|
Mark Thom
|
9067f76bd6
|
no longer delay verify_attributes for cut instructions (#807)
|
2021-02-22 18:33:35 -07:00 |
|
Mark Thom
|
6c447da730
|
no longer generate a choice point in bb_b_put/2 (#742)
|
2021-02-22 18:27:30 -07:00 |
|
Mark Thom
|
1a9f6f06df
|
consume whitespace before reading a term in loader.pl, modify prolog_load_context at file key to better reflect loading context, use it when reporting singleton variables (#812)
|
2021-02-22 13:23:22 -07:00 |
|
Mark Thom
|
5f8bdc564b
|
extend existing local predicate skeletons in LoadState::compile
|
2021-02-22 02:00:25 -07:00 |
|
Mark Thom
|
f6498f2a7b
|
anonymize singleton variables in iso_ext.pl, charsio.pl
|
2021-02-21 19:20:42 -07:00 |
|
Mark Thom
|
0ef5f7f9b1
|
issue singleton variable warnings from loader.pl (#812)
|
2021-02-21 19:20:42 -07:00 |
|
Mark Thom
|
a323a4dd8e
|
wrap stream instances in one Rc<RefCell<..>>, use Ref/RefMut to access stream options
|
2021-02-21 19:20:42 -07:00 |
|
Mark Thom
|
d5581ffd05
|
Merge pull request #834 from aarroyoc/rebis-http
Fix HTTP server in rebis
|
2021-02-21 13:32:09 -07:00 |
|
Mark Thom
|
465ab2fa34
|
Merge pull request #830 from aarroyoc/rebis-http
Fix HTTP server on Rebis. Breaking change
|
2021-02-21 12:10:09 -07:00 |
|
Mark Thom
|
d60bfef924
|
tweak bimetatrans_tests.pl
|
2021-02-21 12:08:36 -07:00 |
|
Mark Thom
|
5225587ff5
|
add set_prolog_flag to declarations recognized by loader.pl
|
2021-02-21 12:08:14 -07:00 |
|
Mark Thom
|
fec790e108
|
correct comment before call meta_predicate declarations
|
2021-02-20 19:10:34 -07:00 |
|
Mark Thom
|
eb5ea28bcd
|
add 'e' as evaluable functor for Euler's constant (#832)
|
2021-02-20 18:32:04 -07:00 |
|
Mark Thom
|
a9fe2ab5c4
|
use env::current_dir in Machine::current_dir (#833)
|
2021-02-20 18:25:34 -07:00 |
|
Mark Thom
|
f2db0886dd
|
move to a local num-rug-adapter crate addressing #822
|
2021-02-19 17:35:10 -07:00 |
|
Mark Thom
|
f6926a9642
|
remove nl after top-level use_module (#818)
|
2021-02-19 14:36:30 -07:00 |
|
Mark Thom
|
d3442bb08f
|
qualify command-line specified goals with user: (#820)
|
2021-02-19 14:12:34 -07:00 |
|
Mark Thom
|
a08f5c3016
|
treat LocalCodePtr::Halt received at lookup_local_instr as an interrupt (#823)
|
2021-02-19 13:44:22 -07:00 |
|
Mark Thom
|
eff892ccb8
|
add qualified imports use_module library modules
|
2021-02-18 17:58:16 -07:00 |
|
Mark Thom
|
3831a371a4
|
Merge pull request #829 from aarroyoc/uuidv4
UUIDv4 library
|
2021-02-18 14:29:06 -07:00 |
|
Mark Thom
|
c272e4d1e8
|
use add_dynamically_generated_module in get_or_insert_local_code_index
|
2021-02-18 14:15:28 -07:00 |
|
Mark Thom
|
d69b7f41f2
|
add '$remove_module_exports' to loader.rs
|
2021-02-18 14:08:25 -07:00 |
|
Mark Thom
|
c8a47d839a
|
Merge pull request #828 from triska/rebis-dev
enable meta_predicate/1 declarations
|
2021-02-18 12:21:21 -07:00 |
|
Mark Thom
|
e8f8f34a76
|
Merge pull request #827 from triska/rebis-dev
add appropriate meta_predicate/1 declarations
|
2021-02-18 12:15:12 -07:00 |
|
Mark Thom
|
d4d283480f
|
Merge pull request #826 from triska/rebis-dev
add appropriate meta_predicate/1 declarations
|
2021-02-18 11:17:00 -07:00 |
|
Mark Thom
|
172aef7e26
|
Merge pull request #825 from tniessen/readme-typo-fix
Fix typo in README
|
2021-02-18 11:15:50 -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
|
7670b81633
|
remove VNs variable from loader.pl
|
2021-02-17 13:31:58 -07:00 |
|
Mark Thom
|
f9b98f97b6
|
remove unnecessary cause of failure in parser, qualify call to op_/3 in builtins.pl
|
2021-02-17 11:56:58 -07:00 |
|
Mark Thom
|
00bf39204d
|
add missing variable checks in various places
|
2021-02-17 11:12:19 -07:00 |
|
Mark Thom
|
e9ba3ad223
|
handle user:goal_expansion, but not Target:goal_expansion, explicitly in loader.pl
|
2021-02-17 01:19:51 -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
|
bd97083268
|
remove unused is_internal function from indexing.rs
|
2021-02-11 18:51:21 -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
|
170a71bd02
|
offset SwitchOnTerm's Internal indices only if the proper instructions were emitted
|
2021-02-11 15:38:16 -07:00 |
|
Mark Thom
|
14efbb1356
|
roll back extent of heap when loads are complete in loader.pl
|
2021-02-11 15:37:43 -07:00 |
|
Mark Thom
|
20cd0dd77a
|
use IndexMap over HashMap in prolog_parser
|
2021-02-11 15:35:14 -07:00 |
|
Mark Thom
|
2db1fac1eb
|
break out of the first inner loop if constants contains no key in remove_constant_indices (#816)
|
2021-02-10 14:13:37 -07:00 |
|
Mark Thom
|
ce8490ed41
|
Merge pull request #813 from triska/rebis-dev
~| now incorporates the number of characters described so far
|
2021-02-09 17:57:08 -07:00 |
|
Mark Thom
|
7e208984de
|
reset merging_ptr offset before insertion of each overlapping constant (#816)
|
2021-02-09 17:18:00 -07:00 |
|
Mark Thom
|
4d29a3ae3c
|
check for control functors (,/;/->) before jumping to internal interpretation (#815)
|
2021-02-09 16:40:25 -07:00 |
|
Mark Thom
|
195273f01d
|
throw exceptions when modules do not contain claimed exports
|
2021-02-09 12:17:34 -07:00 |
|
Mark Thom
|
605aea2211
|
Merge pull request #811 from triska/master
link to announcement of Rebis Development Branch, call for testing
|
2021-02-09 11:59:59 -07:00 |
|
Mark Thom
|
cc7e21170f
|
correct faulty removal of clauses in abolish/1
|
2021-02-08 19:02:26 -07:00 |
|
Mark Thom
|
30602c0849
|
clean up implementation of (->)/2, (;)/2, and (,)/2
|
2021-02-07 21:13:27 -07:00 |
|
Mark Thom
|
1dabe95899
|
remove tidy_trail
|
2021-02-07 15:39:48 -07:00 |
|
Mark Thom
|
4995c0ed94
|
append .pl to names of files that do not exist in loader.pl
|
2021-02-07 15:38:03 -07:00 |
|
Mark Thom
|
df82dbe5f5
|
use parent() instead of ancestors().next() in load_context_directory()
|
2021-02-07 13:51:01 -07:00 |
|
Mark Thom
|
de9c74e1d9
|
Merge branch 'Skgland-clean_up' into rebis-dev
|
2021-02-07 00:34:57 -07:00 |
|