Mark Thom
|
607c84a79b
|
capture and propagate (=..)/2 errors in phrase/{2,3} (#1460)
|
2022-06-21 22:47:55 -06:00 |
|
Mark Thom
|
2eec6499ff
|
propagate inference_limit_exceeded errors through the loader (#1298)
|
2022-06-18 11:26:31 -06:00 |
|
Mark Thom
|
cd1150c11d
|
use setup_cal_n_init_goal_info in dynamic_module_resolution
|
2022-06-15 22:33:13 -06:00 |
|
Mark Thom
|
987bbdecf5
|
improve efficiency of call/N, replace '$call_with_default_policy' with
'$call_with_inference_counting'
|
2022-06-12 22:34:07 -06:00 |
|
Mark Thom
|
a68394b6f2
|
simplify detecting undefined goal_ and term_expansion
|
2022-06-12 22:34:07 -06:00 |
|
Mark Thom
|
336311ecc8
|
replace call with $call in more meta-predicates
|
2022-06-06 09:28:03 -06:00 |
|
Mark Thom
|
e9bb35c895
|
emit indexing instructions in single clauses of dynamic predicates
|
2022-06-04 23:43:48 -06:00 |
|
Mark Thom
|
ab4f93dcee
|
do not emit indexing instructions for single clause subsequences (#1503)
|
2022-06-04 15:29:00 -06:00 |
|
Mark Thom
|
c36d4a9c9a
|
unmark cells in arith_eval_by_metacall (#1497)
|
2022-06-01 00:02:11 -06:00 |
|
Mark Thom
|
4b5c22864e
|
don't print superfluous round brackets in curly braces (#1416)
|
2022-05-31 23:34:55 -06:00 |
|
Mark Thom
|
5e1faeb5d2
|
fix broken quoting in writeq/1 (#1498)
|
2022-05-31 18:29:42 -06:00 |
|
Mark Thom
|
4b7c2ba6c8
|
fix off-by-one error reporting in write_term/3 (#1490)
|
2022-05-30 23:25:44 -06:00 |
|
Mark Thom
|
b9285f8de1
|
don't quote most characters in strings (#1495, #301)
|
2022-05-30 23:09:20 -06:00 |
|
Mark Thom
|
084fc84590
|
use existence_error for dropped streams (#1472)
|
2022-05-23 11:15:58 -06:00 |
|
Markus Triska
|
6b49653754
|
use in_character
This addresses one aspect of #1472.
|
2022-05-22 23:04:27 +02:00 |
|
Markus Triska
|
d5fa8cc211
|
ADDED: must_be(in_character, ...) and can_be(in_character, ...)
|
2022-05-22 23:04:27 +02:00 |
|
Mark Thom
|
10a11c293e
|
fix stream position and term comparison bugs (#1472)
|
2022-05-22 14:16:14 -06:00 |
|
Adrián Arroyo Calle
|
6feb1f8b82
|
Fix build on Windows 10
|
2022-05-22 13:18:11 +02:00 |
|
Mark Thom
|
bef8eb538c
|
throw a representation error if max arity is exceeded (#1483)
|
2022-05-22 00:03:55 -06:00 |
|
Mark Thom
|
4e3b066555
|
Merge pull request #1482 from triska/multiple_of_five_answers
ENHANCED: "f" on toplevel to report answers up to the next multiple of 5.
|
2022-05-21 12:35:35 -06:00 |
|
Mark Thom
|
4d23542ef3
|
add max arity checks at various stages (#1459)
|
2022-05-21 12:32:48 -06:00 |
|
Markus Triska
|
47a6b498e3
|
ENHANCED: "f" on toplevel to report answers up to the next multiple of 5.
This makes counting solutions easy.
|
2022-05-21 18:20:08 +02:00 |
|
Mark Thom
|
b6f77f4e6f
|
check asserta/2, assertz/2, abolish/2 for uninstantiated Module variables (#1475)
|
2022-05-16 20:45:45 -06:00 |
|
Mark Thom
|
b96cd06129
|
detect character type errors in atom_{chars|codes}/2 (#1472)
|
2022-05-16 16:32:38 -06:00 |
|
Markus Triska
|
18c52e076f
|
indent enumerations
|
2022-05-15 10:55:56 +02:00 |
|
Markus Triska
|
1810dabc14
|
clarify the representation
|
2022-05-15 10:55:27 +02:00 |
|
Markus Triska
|
609a3a229f
|
strengthen and improve type checks
|
2022-05-15 10:51:00 +02:00 |
|
Markus Triska
|
dff56643f0
|
clarify comment
|
2022-05-15 10:23:00 +02:00 |
|
Markus Triska
|
77f8d52271
|
use phrase_from_file/2 directly on the file name
|
2022-05-15 10:19:00 +02:00 |
|
Markus Triska
|
a5e72679bc
|
prioritize type errors over instantiation errors
Example:
?- must_be(chars, [a,X,cc]).
error(type_error(character,cc),can_be/2).
See https://github.com/mthom/scryer-prolog/pull/1474#issuecomment-1126664368
|
2022-05-14 09:53:21 +02:00 |
|
Markus Triska
|
15cc916333
|
FIXED: can_be(chars, [a,X]), i.e., if variables occur as elements
This should simplify 2f3de51e55 and
other cases like it.
|
2022-05-14 08:39:20 +02:00 |
|
Mark Thom
|
2f3de51e55
|
remove non-determinism in number_chars/2 and numbercodes/2 (#1473)
|
2022-05-13 18:38:58 -06:00 |
|
Mark Thom
|
cea1353fbb
|
use must_be(chars) in number_chars/2 (#1470)
|
2022-05-12 01:09:06 -06:00 |
|
Euan Lacy
|
27a15a2464
|
wip: add more atoms to completion list
|
2022-05-11 21:37:03 +01:00 |
|
Euan Lacy
|
c2a87f898e
|
fix: remove unnecessary string & vec allocations
|
2022-05-10 18:10:18 +01:00 |
|
Euan Lacy
|
aaa75c3ffc
|
wip: basic completion of predicates
|
2022-05-10 18:10:18 +01:00 |
|
Mark Thom
|
2dfa108034
|
unify partial string tail later in create_partial_string (#1462, #1465, #1427)
|
2022-05-08 14:52:22 -06:00 |
|
Mark Thom
|
4895cb7b22
|
fix culprit in stream_position permission_error (#1463)
|
2022-05-06 17:38:25 -06:00 |
|
Mark Thom
|
2d3eb8483f
|
correct cycle detection in unify_* (#1455)
|
2022-05-05 18:58:56 -06:00 |
|
Markus Triska
|
d58dd7cc91
|
ADDED: sign/1
|
2022-05-05 22:51:49 +02:00 |
|
Markus Triska
|
7e06abebd5
|
remove comment that seems no longer valid
|
2022-05-05 22:51:49 +02:00 |
|
Mark Thom
|
8dd7f51ae3
|
fix rnd_i fixnum casting bug (#1456, #1458)
|
2022-05-04 22:44:12 -06:00 |
|
Mark Thom
|
6030fae685
|
track f64 offsets in Literal (#1190)
|
2022-05-04 21:54:46 -06:00 |
|
Mark Thom
|
0f502fff84
|
compact lists of characters to partial strings in read_term_from_heap (#1452, #1453)
|
2022-05-03 19:12:16 -06:00 |
|
Mark Thom
|
789f662ec8
|
fix match_partial_string, compare_pstr_to_string (#1451)
|
2022-04-30 19:51:19 -06:00 |
|
Mark Thom
|
72536037ca
|
remove redundant register assignments in numeric comparisons (#1438, #1448)
|
2022-04-29 09:16:22 -06:00 |
|
Mark Thom
|
e4eefc92f4
|
remove redundant skip_stub_try_me_else condition (#1444)
|
2022-04-29 09:16:22 -06:00 |
|
Mark Thom
|
23c4e935b4
|
Merge pull request #1436 from triska/must_be_term
ADDED: can_be(term, ...) and must_be(term, ...)
|
2022-04-26 13:31:43 -06:00 |
|
Mark Thom
|
68b4951bc9
|
replace SliceDeque with VecDeque
|
2022-04-25 22:55:28 -06:00 |
|
Mark Thom
|
ed89c43e48
|
catch existence_error exceptions from top-level calls to attribute_goals/3 (#1432)
|
2022-04-24 20:59:00 -06:00 |
|