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
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
d5581ffd05
Merge pull request #834 from aarroyoc/rebis-http
...
Fix HTTP server in rebis
2021-02-21 13:32:09 -07:00
Adrián Arroyo Calle
77968ab33a
Fix typo
2021-02-21 21:08:03 +01:00
Adrián Arroyo Calle
265a5955d7
Use notoria's comment
2021-02-21 20:22:08 +01: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
fec790e108
correct comment before call meta_predicate declarations
2021-02-20 19:10:34 -07:00
Adrián Arroyo Calle
b565eaaf5a
Fix HTTP server to work on Rebis branch. Breaking change
2021-02-19 00:13:00 +01:00
Adrián Arroyo Calle
77ec8ebfc3
UUIDv4 generation
2021-02-18 22:16:24 +01:00
Markus Triska
b3db8913c6
enable meta_predicate/1 declarations
2021-02-18 20:19:23 +01:00
Markus Triska
5bec2c87cb
add appropriate meta_predicate/1 declarations
2021-02-18 20:15:04 +01:00
Markus Triska
71a524662d
add appropriate meta_predicate/1 declarations
2021-02-18 19:16:11 +01:00
Mark Thom
2a70ca375c
restore support for tabling and delimited continuations ( #779 )
2021-02-17 16:18:49 -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
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
4d29a3ae3c
check for control functors (,/;/->) before jumping to internal interpretation ( #815 )
2021-02-09 16:40:25 -07:00
Markus Triska
1bdfc5a1a4
~| now incorporates the number of characters described so far
...
Therefore, subsequent uses of ~N| now yield the specified column,
instead of potentially overshooting.
Example:
?- format("hello~|~t~8|!", []).
hello ! true.
Such cases are probably rather uncommon: Relative positioning with ~N+
is more likely to be used in such cases, and that worked as intended
also previously as it does now:
?- format("hello~|~t~3+!", []).
hello ! true.
In fact, if absolute positions are used, then ~| can be omitted entirely:
?- format("hello~t~8|!", []).
hello ! true.
2021-02-09 20:55:46 +01:00
Mark Thom
30602c0849
clean up implementation of (->)/2, (;)/2, and (,)/2
2021-02-07 21:13:27 -07:00
Mark Thom
49b1c1368e
remove dynamic clause declaration for clause internal
2021-02-05 23:16:42 -07:00
Mark Thom
bdb5df104a
shed module names from arguments of the (->)/2, (,)/2, (;)/2 predicates
2021-02-05 22:50:57 -07:00
Mark Thom
700778e574
collate paths as atoms in loader.pl ( #778 )
2021-02-05 20:18:56 -07:00
Mark Thom
bbbf95705b
implement abolish/1
2021-02-05 18:35:06 -07:00
Mark Thom
927871d73d
Merge branch 'rebis-dev' of https://github.com/mthom/scryer-prolog into rebis-dev
2021-02-05 17:17:14 -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
Markus Triska
a228e46a39
ENHANCED: Enable goal expansion for CLP(ℤ).
...
This is now possible since #445 is resolved.
2021-02-05 21:06:08 +01:00
Markus Triska
81913a5987
Revert "preliminary workaround for #788 "
...
This reverts commit 164b993064 ,
which was made obsolete by 75a52f032b .
2021-02-05 20:59:47 +01:00
Mark Thom
222be9cf6c
modify rightmost_power/2 to ignore module qualification on (^)/2 ( #794 )
2021-02-04 20:51:55 -07:00
Mark Thom
75a52f032b
perform goal expansion in call/N ( #788 , #797 )
2021-02-04 20:40:48 -07:00
Markus Triska
164b993064
preliminary workaround for #788
...
This change can be reverted once the issue is resolved.
2021-02-04 20:48:09 +01:00
Mark Thom
2fe55e4715
resolve calls to tranpose_ and same_length in lists.pl ( #790 )
2021-02-03 16:38:46 -07:00
Mark Thom
a8a82e45a0
introduce cuts over indexed (:)/2 of dcgs:phrase_/3 ( #786 )
2021-02-03 16:03:15 -07:00
Mark Thom
fcba140ffe
Merge pull request #787 from triska/rebis-dev
...
add meta_predicate declaration for with_local_attributes/3
2021-02-03 15:51:15 -07:00
Markus Triska
b96ff781bc
add meta_predicate declaration for must_succeed/1
2021-02-03 23:49:28 +01:00
Mark Thom
94392f248c
enable phrase_ rules for module resolved grammars ( #785 )
2021-02-03 15:48:12 -07:00
Markus Triska
24e6c31c44
add meta_predicate declaration for with_local_attributes/3
...
This is needed for all_distinct/1 etc.
Example:
?- all_distinct([X,Y,Z]).
clpz:all_distinct([X,Y,Z])
; false.
2021-02-03 23:45:21 +01:00
Mark Thom
cab0e4395a
manually expand module names in higher-order predicates of lists.pl and give call_residue_vars/2 a meta-predicate definition
2021-02-03 15:37:16 -07:00
Markus Triska
ae66e299e6
Use term expansion for generated predicates.
2021-02-03 15:21:39 -07:00
Mark Thom
88ad2ee103
restore cut after dcg_constr check ( #784 )
2021-02-03 15:21:20 -07:00
Mark Thom
48f3f4ca37
add meta-predicate declarations to reif library
2021-02-03 12:46:33 -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
814c034683
add meta-predicate declarations before their definitions
2021-02-01 19:26:50 -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
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
Mark Thom
b33158b92e
Merge pull request #766 from aarroyoc/http-form
...
HTTP Server: urlencoded forms and some syntax improvements
2021-01-30 13:55:40 -07:00
notoria
dfd7ac633a
Removed redundant choicepoint from between/3
2021-01-30 17:45:55 +01:00
Adrián Arroyo Calle
13499352fd
urlencoded forms and some syntax improvements
2021-01-27 23:34:38 +01:00
Adrián Arroyo Calle
a90030ca2d
PR feedback
2020-12-28 22:55:32 +01:00