Mark Thom
|
bd720b49f3
|
Merge pull request #1884 from triska/countall
ADDED: countall/2, for compatibility with GNU Prolog.
|
2023-07-13 16:09:29 -06:00 |
|
Markus Triska
|
9590d5200c
|
ADDED: countall/2, for compatibility with GNU Prolog.
Example:
?- countall(member(X, "abc"), N).
N = 3.
|
2023-07-13 23:08:13 +02:00 |
|
Mark
|
12f890e4a2
|
throw permission_error in compile_assert when attempting to assert a built-in (#1872)
|
2023-07-13 15:03:26 -06:00 |
|
Mark
|
a9cb826bf3
|
arith_eval_by_metacall may receive a stack variable
|
2023-07-13 13:58:51 -06:00 |
|
Mark
|
4163cb038d
|
correct peek_code/2, don't set stream position in peek functions
|
2023-07-13 13:37:34 -06:00 |
|
Mark
|
b051f39145
|
correct peek_byte/2 bugs (#1882)
|
2023-07-13 12:23:20 -06:00 |
|
Mark
|
cfc49243c8
|
improve ground/1 performance (#1389)
|
2023-07-12 18:11:56 -06:00 |
|
Mark
|
29430ec88b
|
fix peek_byte/2 crash (#1882)
|
2023-07-12 16:34:11 -06:00 |
|
Mark Thom
|
d520046a4f
|
Merge pull request #1878 from mthom/lookahead_indexing
use lookahead to skip inapplicable clauses (#1028, #1502)
|
2023-07-12 16:21:06 -06:00 |
|
Markus Triska
|
814ce2d672
|
ENHANCED: improved determinism of member/2
Example:
?- member(X, "abc").
%@ X = a
%@ ; X = b
%@ ; X = c.
This addresses #750.
|
2023-07-12 14:39:08 -06:00 |
|
Mark
|
4fd37335f5
|
use lookahead to skip inapplicable clauses (#1028, #1502)
|
2023-07-12 14:39:02 -06:00 |
|
Mark
|
1791bd8626
|
remove unsafe unwrap in put_char (#1881)
|
2023-07-12 14:24:20 -06:00 |
|
Mark
|
3f5dbc1680
|
emit stream aliases as permission error culprits whenever possible
|
2023-07-12 12:17:06 -06:00 |
|
Mark
|
44052cb373
|
Revert "Allow comparisons with stream terms"
This reverts commit 076a75d138.
|
2023-07-12 11:44:45 -06:00 |
|
Mark
|
8c33da11ce
|
Revert "add stream alias check to atom/1 (#1855)"
This reverts commit b746a8f9ab.
|
2023-07-12 11:44:44 -06:00 |
|
Mark
|
ab80c84714
|
Revert "add stream alias processing to atom_chars/2, atom_codes/2"
This reverts commit 811ff65209.
|
2023-07-12 11:44:41 -06:00 |
|
Mark
|
bb420e9347
|
use indexing functions to set num_cells in allocate_and_frame/or_frame (#1877)
|
2023-07-11 13:43:34 -06:00 |
|
Mark
|
55a1f8d3da
|
clean commented code from disjuncts.rs
|
2023-07-10 10:32:15 -06:00 |
|
Mark
|
fba7790637
|
remove errant debug_hook from read_and_match
|
2023-07-09 10:30:30 -06:00 |
|
Markus Triska
|
918dfca409
|
DOC: new section on applications of Scryer Prolog
This addresses an important aspect of #1777.
|
2023-07-09 10:29:53 -06:00 |
|
Markus Triska
|
d18f128a3c
|
correct \\ to \, addressing #1865
|
2023-07-09 10:29:53 -06:00 |
|
Mark
|
c8b9059289
|
refine EOF handling more (#1873)
|
2023-07-09 10:29:47 -06:00 |
|
Mark
|
b8a6882a27
|
refine EOF handling
|
2023-07-08 22:25:30 -06:00 |
|
Mark
|
fb8e3071f2
|
follow EOF action after open_parsing_stream in get_char if stream at EOF
|
2023-07-08 19:27:32 -06:00 |
|
Mark
|
067b5998ee
|
clarify EOF error across stream types and predicates (#1867, #1870)
|
2023-07-08 13:38:52 -06:00 |
|
Mark Thom
|
2e26f37f5e
|
Merge pull request #1869 from triska/master
print version more readably, addressing #1868
|
2023-07-08 01:24:04 -06:00 |
|
Markus Triska
|
6525c1f543
|
print version more readably, addressing #1868
|
2023-07-08 08:19:05 +02:00 |
|
Mark
|
4db0b385f3
|
treat unexpected EOF as incomplete reduction in bracketed_comment
|
2023-07-07 13:04:27 -06:00 |
|
Mark
|
b7f77d1747
|
interpret '\u{0}' as end_of_file in get_char/1
|
2023-07-07 11:05:44 -06:00 |
|
Mark
|
811ff65209
|
add stream alias processing to atom_chars/2, atom_codes/2
|
2023-07-07 10:38:05 -06:00 |
|
Mark Thom
|
fd70d8975b
|
Merge pull request #1832 from aarroyoc/http-fixes
Multiple fixes for http libraries
|
2023-07-06 16:30:56 -06:00 |
|
Mark
|
b746a8f9ab
|
add stream alias check to atom/1 (#1855)
|
2023-07-06 11:38:12 -06:00 |
|
Mark
|
483e4568a2
|
add scc_block to MachineState to avoid SCC cleanup terms being deallocated too early (#1427)
|
2023-07-06 11:20:49 -06:00 |
|
Mark
|
9ff1b660f1
|
correct heap_print.rs tests
|
2023-07-05 18:11:09 -06:00 |
|
Mark
|
5ffdd2d91a
|
shrink scope of control_entry_point catch, add CutPoint tag to printer
|
2023-07-05 14:50:49 -06:00 |
|
Mark Thom
|
5b81bee941
|
Merge pull request #1864 from triska/double_quotes
make double_quotes write option not dependent on double_quotes flag
|
2023-07-05 13:49:29 -06:00 |
|
Markus Triska
|
3b9b9e75c4
|
make double_quotes write option not dependent on double_quotes flag
This gives consistent results without depending on another flag.
|
2023-07-05 21:37:11 +02:00 |
|
Mark Thom
|
faef45fd68
|
Merge pull request #1862 from mthom/iso_conformity_tests
Revise iso_conformity_tests.pl to remove unnecessary spaces
|
2023-07-05 10:49:51 -06:00 |
|
Mark
|
b5b45dde9d
|
add missing self.pos to peek_char slices (#1726)
|
2023-07-04 17:44:27 -06:00 |
|
Mark
|
5ab087bc1e
|
revise iso_conformity_tests.pl in response to new ambiguity check of #1860
|
2023-07-04 16:12:03 -06:00 |
|
Mark
|
7683367c0e
|
throw lexer errors from devour_whitespace (#1778)
|
2023-07-04 16:09:54 -06:00 |
|
Mark Thom
|
d2db66b9f7
|
Merge pull request #1861 from aarroyoc/fix-1855
Allow comparisons with stream terms
|
2023-07-04 15:11:59 -06:00 |
|
Mark
|
c58d8804a1
|
widen CharReader buffer (#1859)
|
2023-07-04 15:08:46 -06:00 |
|
Adrián Arroyo Calle
|
076a75d138
|
Allow comparisons with stream terms
|
2023-07-04 17:33:48 +02:00 |
|
Mark Thom
|
7f69ac3f4a
|
Merge pull request #1857 from triska/master
advertise newly achieved strong syntactic conformance: all current tests pass
|
2023-07-03 14:05:16 -06:00 |
|
Markus Triska
|
7f159a7ed2
|
advertise newly achieved strong syntactic conformance: all current tests pass
This addresses an important aspect of #1777.
|
2023-07-03 22:04:26 +02:00 |
|
Mark Thom
|
42274ef3ae
|
Merge pull request #1850 from mthom/iso-conformity-tests
Automate ISO syntax conformity tests
|
2023-07-03 13:53:41 -06:00 |
|
Mark
|
ab893be418
|
update tests
|
2023-07-03 13:18:53 -06:00 |
|
Mark
|
f5e7573bd6
|
correct tests #171 and #300
|
2023-07-03 12:09:26 -06:00 |
|
Mark
|
9cdad087ef
|
add double_quotes write option for printing to strings, enable it at toplevel
|
2023-07-03 12:09:05 -06:00 |
|