Mark
46e432c4d9
restore [o|i]ip zeroing to trust and fix '$get_clause_p'/3 ( #2238 )
2023-12-20 20:45:15 -07:00
Mark
e5ea95db8d
Revert "improve performance of lower_bound_of_target_clause ( #1598 )"
...
This reverts commit 8938331915 .
2023-12-15 00:42:58 -07:00
Mark
8938331915
improve performance of lower_bound_of_target_clause ( #1598 )
2023-12-15 00:39:36 -07:00
Mark
b8ef367824
bind missing module atom in retract/1 ( #2182 )
2023-11-25 20:59:04 -07:00
Mark
2811660fa7
remove assert(a,z)/2 ( #1975 )
2023-11-22 09:24:07 -07:00
Mark
1163d14ea1
fix control construct bugs, iter indentation ( #947 )
2023-10-11 12:41:45 -06:00
Mark
4a8aa0acbd
throw instantiation_error from error/2 if Error_term uninstantiated ( #2060 )
2023-09-30 22:35:46 -06:00
Mark
40d3345cd5
revert throwing domain errors for unexpected forms of read-options ( #2015 )
2023-09-27 18:58:45 -06:00
Mark
39934208c3
throw instantiation_error when appropriate from parse_write_options_ (5.5.12 of the standard, #1965 )
2023-09-26 12:08:51 -06:00
Mark
de440a8c92
get rid of OssifiedOpDir, DBRef, simplify current_op/3
2023-09-11 15:36:15 -06:00
Mark
5585e83fd6
correct inference counting over index backtracking, built-ins ( #1977 , #1987 )
2023-09-04 17:15:16 -06:00
Markus Triska
aca0de06cd
FIXED: make occurs_check and answer_write_options flags discoverable
...
Quoting from 7.11 Flags:
NOTE - A built-in predicate current_prolog_flag(Flag, Value)
(8.17.2) enables a program to discover all the flags supported
by a processor and their current values.
2023-09-04 00:56:09 +02:00
Markus Triska
c934e06171
ADDED: New Prolog flag, answer_write_options.
...
This lets us specify additional write options used by the top level
for writing answers.
2023-09-03 10:49:07 +02:00
Mark
e529e7ba21
improve goal expansion and (',') interpretation error handling
2023-07-20 14:27:10 -06:00
Mark
14646074be
remove failing append choicepoint in atom_concat/3 special case ( #1893 )
2023-07-18 14:44:02 -06:00
Mark Thom
1ba040c24d
Merge pull request #1885 from mthom/setof_bagof_fixes
...
Fix group_by_variants/4 and keysort in setof/3
2023-07-18 12:35:10 -06:00
Mark
42a50474da
remove read/{1,2} as a builtin, write read options upon EOF, throw better domain errors in parse_read_term_options/2
2023-07-17 16:45:03 -06:00
Mark
ff5e9a793b
add unknown flag to set_prolog_flag and current_prolog_flag
2023-07-14 19:10:10 -06:00
Mark
101d0548db
fix group_by_variants/4 and keysort in setof/3 ( #1440 , #1856 )
2023-07-14 18:52:29 -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
9cdad087ef
add double_quotes write option for printing to strings, enable it at toplevel
2023-07-03 12:09:05 -06:00
Mark
58af615dd4
correct and generalize current_predicate/1
2023-06-28 17:31:43 -06:00
Mark
b593fffc7d
support module resolution in current_predicate/1 ( #1817 )
2023-06-27 11:08:29 -06:00
Mark
0e583d620a
implement new disjunction compilation
2023-06-23 14:11:31 -06:00
Mark
c5a3ec3ba8
fix current_predicate/1 ( #1761 )
2023-04-24 23:23:27 -06:00
Adrián Arroyo Calle
4c44859132
Fixes #1756
2023-03-12 16:47:20 +01:00
Adrián Arroyo Calle
e8408ca93f
Minor fixes to docs
2023-02-02 21:35:35 +01:00
Mark Thom
1118b37c92
Merge pull request #1674 from aarroyoc/docs-builtins
...
Compatible Doclog docs for builtins
2023-01-26 05:10:20 +01:00
Adrián Arroyo Calle
d755bb7e12
Apply feedback on builtins
2023-01-25 21:04:10 +01:00
Mark Thom
a7e93db363
improve retract/1 and related predicates ( #1598 )
2023-01-22 21:04:41 -07:00
Adrián Arroyo Calle
7647ad14b8
More feedback applied
2022-12-21 23:19:38 +01:00
Adrián Arroyo Calle
21e4347b3e
Apply some feedback
2022-12-21 22:32:36 +01:00
Adrián Arroyo Calle
f2d041ea23
Merge branch 'master' into docs-builtins
2022-12-21 21:29:22 +01:00
Adrián Arroyo Calle
56c1c4e43c
Compatible Doclog docs for builtins
2022-12-21 21:28:16 +01:00
Mark Thom
b4b72a3166
Merge pull request #1662 from mthom/interpreting_disj
...
Fix mishandled if-then-else interpretation (#1659 )
2022-12-16 04:36:02 +01:00
Mark Thom
a5054c0064
use append/3 rather than set_difference/3 to gather witnesses in bagof/3 and setof/3 ( #1663 , #1664 )
2022-12-12 23:55:55 -07:00
Mark Thom
4dc0114c52
fix mishandled if-then-else interpretation ( #1659 )
2022-12-11 16:35:32 -07:00
Mark Thom
28ea672e36
move asserta/2, assertz/2 to iso_ext
2022-11-10 06:47:32 +01:00
Mark Thom
23f59970cb
export asserta/2 ( #1623 )
2022-10-26 23:36:07 -06:00
Mark Thom
8781e03863
cache ball terms before unifying in handle_ball/3 ( #1608 )
2022-10-26 23:36:07 -06:00
Mark Thom
d4c0277065
don't return ops with priority 0 when building set for current_op ( #1571 )
2022-10-26 23:36:07 -06:00
Mark Thom
b51460a59a
fail on non-list solutions in setof/3 ( #1553 )
2022-10-26 23:36:07 -06:00
Mark Thom
5a08117e75
use separate predicate for findall cleanup
2022-10-26 23:36:07 -06:00
Mark Thom
6b05ee5130
streamline assertz/1, asserta/1
2022-10-26 23:36:07 -06:00
Mark Thom
1ffbf63d20
inline metacalls
2022-10-26 23:36:07 -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
336311ecc8
replace call with $call in more meta-predicates
2022-06-06 09:28:03 -06:00
Mark Thom
4b7c2ba6c8
fix off-by-one error reporting in write_term/3 ( #1490 )
2022-05-30 23:25:44 -06:00
Markus Triska
6b49653754
use in_character
...
This addresses one aspect of #1472 .
2022-05-22 23:04:27 +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