Mark Thom
|
d7a3ed2d4a
|
change domain_error(integer, ..) to type_error(integer, ..) in random.pl (#1310)
|
2022-03-05 17:39:13 -07:00 |
|
Mark Thom
|
0c25ffc26e
|
dereference list link in delete_attribute (#1148)
|
2022-03-05 17:39:03 -07:00 |
|
Markus Triska
|
9f864574de
|
ADDED: "f" to enumerate the next 5 solutions, similar to GUPU.
|
2022-03-02 21:05:49 +01:00 |
|
Mark Thom
|
a38f7c8524
|
save arguments to delayed goal before calling verify_attrs (#1304)
|
2022-03-01 23:59:41 -07:00 |
|
Mark Thom
|
bf85cd404c
|
Merge pull request #1313 from triska/all_solutions
ADDED: "a" to enumerate all solutions
|
2022-03-01 15:34:21 -07:00 |
|
Markus Triska
|
102adb3544
|
ADDED: "a" to enumerate all solutions
Example:
?- member(X, "hello").
%@ X = h <-- press "a"
%@ ; X = e
%@ ; X = l
%@ ; X = l
%@ ; X = o
%@ ; false.
|
2022-03-01 23:52:51 +01:00 |
|
Mark Thom
|
c2b360d03e
|
Merge pull request #1312 from triska/str_loc_as_cell
FIXED: load_html/3: use str_loc_as_cell! to store attribute structures
|
2022-03-01 12:09:42 -07:00 |
|
Markus Triska
|
1bec1b7002
|
FIXED: load_html/3: use str_loc_as_cell! to store attribute structures
|
2022-03-01 20:21:08 +01:00 |
|
Mark Thom
|
1b4b4807a5
|
refer to structures using str_loc_as_cell! (#1311)
|
2022-02-28 18:28:13 -07:00 |
|
Mark Thom
|
d4d135f2a9
|
fix unexpected error in length/2 (#1303)
|
2022-02-27 11:38:48 -07:00 |
|
Mark Thom
|
96faad1c01
|
add proper error throwing for call_with_inference_limit/3 (#1296)
|
2022-02-27 11:38:44 -07:00 |
|
Mark Thom
|
d55d5f15ae
|
compare '[]' in pstr_comparator of compare_term_test (#1299)
|
2022-02-25 23:57:27 -07:00 |
|
Mark Thom
|
26e4560429
|
pop pstr offsets from iterator stack in printer (#1290)
|
2022-02-25 23:36:26 -07:00 |
|
Mark Thom
|
775bd3a08b
|
unify '' to [] in unify_complete_string (#1292, #1288)
|
2022-02-25 23:01:08 -07:00 |
|
Mark Thom
|
d92d8bce89
|
recognize [] as equivalent to "" in unify_atom (#1288)
|
2022-02-22 23:45:58 -07:00 |
|
Mark Thom
|
1b91663244
|
Merge pull request #1287 from triska/rebis-dev-sgml
FIXED: library(sgml): load_html/3 and load_xml/3 now both work again.
|
2022-02-22 15:55:03 -07:00 |
|
Markus Triska
|
8fb673e93e
|
use newly available get_n_chars/3 from library(charsio)
|
2022-02-23 00:03:36 +01:00 |
|
Markus Triska
|
d1372d9b3b
|
FIXED: library(sgml): load_html/3 and load_xml/3 now both work again.
This addresses #1249.
|
2022-02-23 00:03:27 +01:00 |
|
Mark Thom
|
063f0da565
|
correct '$skip_max_list/4' for non-lists (#1276)
|
2022-02-20 23:44:18 -07:00 |
|
Mark Thom
|
c893247107
|
update setup_call_cleanup tests
|
2022-02-19 01:00:02 -07:00 |
|
Mark Thom
|
a5adcfff4c
|
adjust dynamic external indices upon retraction, reset dynamic_mode to Next regardless of success or failure
|
2022-02-19 01:00:02 -07:00 |
|
Mark Thom
|
d3583276b3
|
throw instantiation_error on variables from (#1283)
|
2022-02-19 01:00:02 -07:00 |
|
Mark Thom
|
55d8de1b23
|
delay callable errors in control predicates (#1282)
|
2022-02-19 00:59:59 -07:00 |
|
Mark Thom
|
5b829636cb
|
build CStr's to vars in write_literal_to_var (#1284)
|
2022-02-15 22:33:29 -07:00 |
|
Mark Thom
|
68ac92a616
|
don't unify module-qualified variables to ! (#1281)
|
2022-02-14 18:46:15 -07:00 |
|
Mark Thom
|
db20cda27a
|
use VecDeque for generating indices during code generation (#1053)
|
2022-02-11 19:23:43 -07:00 |
|
Mark Thom
|
60dd47c696
|
add missing fact to beginning of tmember_t/3 (#1275)
|
2022-02-11 17:25:01 -07:00 |
|
Mark Thom
|
42da543980
|
group predicate subsequences by first instantiated arg (#1053)
|
2022-02-08 23:34:42 -07:00 |
|
Mark Thom
|
e4ea547623
|
print bounded depth partial strings correctly
|
2022-02-07 14:09:22 -07:00 |
|
Mark Thom
|
33a6c81a07
|
update setup_call_cleanup tests
|
2022-02-06 21:46:06 -07:00 |
|
Mark Thom
|
9ba503cd6b
|
use printer cycle detection when printing partial strings (#1263), refactor skip_max_list functions
|
2022-02-06 21:36:49 -07:00 |
|
Mark Thom
|
f3f3dccf8e
|
reference partial strings properly in read_term (#1271)
|
2022-02-06 15:14:18 -07:00 |
|
Mark Thom
|
2f0718e885
|
fix write_canonical on strings (#1233)
|
2022-02-05 20:40:28 -07:00 |
|
Mark Thom
|
7b8001d060
|
fix '$skip_max_list'/4 (#1260)
|
2022-02-05 18:33:30 -07:00 |
|
Mark Thom
|
3c022e4332
|
fix float formatting (#1233, #1258)
|
2022-02-05 18:33:27 -07:00 |
|
Mark Thom
|
37e34c5209
|
reset instruction pointers with calls, make HCPrinter::range_from safe (#1233)
|
2022-01-31 21:24:19 -07:00 |
|
Mark Thom
|
4b71607215
|
count cycle lengths in skip_max_list_cycle (#1260)
|
2022-01-31 18:23:16 -07:00 |
|
Mark Thom
|
e62875ac90
|
tag length/2 as the source of finite_memory errors in list.pl (#1259)
|
2022-01-31 18:08:00 -07:00 |
|
Mark Thom
|
835345b89e
|
Merge pull request #1257 from mthom/rebis-dev_improved-length
Improved length/2 and arg/3 range checking
|
2022-01-30 11:30:16 -07:00 |
|
Mark Thom
|
4ddacc707d
|
add range check to arg/3 (#1250)
|
2022-01-29 12:50:09 -07:00 |
|
Mark Thom
|
0d653a2ce6
|
improve '$skip_max_list'/4 and length/2 (#1023, #110)
|
2022-01-29 12:47:26 -07:00 |
|
Mark Thom
|
3208260ef8
|
Merge pull request #1254 from triska/valid_dotdotdot
ENHANCED: Make toplevel output a Prolog term that can be read back also for "...".
|
2022-01-28 11:55:52 -07:00 |
|
Markus Triska
|
2e57789d10
|
ENHANCED: Make toplevel output a Prolog term that can be read back also for "...".
This addresses #1240.
|
2022-01-28 18:47:55 +01:00 |
|
Mark Thom
|
b3006f6fd8
|
inline store & deref calls in '' (#1176)
|
2022-01-26 23:03:19 -07:00 |
|
Mark Thom
|
142ddcd57a
|
use expand_goal directly for existential-qualified goals in all-solutions predicates (#1246)
|
2022-01-26 17:34:36 -07:00 |
|
Mark Thom
|
a562793fce
|
don't read into the heap while incrementing self.s (#1233, #1245)
|
2022-01-25 20:37:29 -07:00 |
|
Mark Thom
|
e6c4ecfc10
|
lazily throw exceptions of dcg_body from goal-expanded phrase/{2,3} (#1244)
|
2022-01-22 14:55:18 -07:00 |
|
Mark Thom
|
5ff579f793
|
recognize []/N as callable (#1241, #989)
|
2022-01-21 08:10:59 -07:00 |
|
Mark Thom
|
8df346f377
|
expand phrase/{2,3} using dcg_body whenever possible
|
2022-01-21 08:10:55 -07:00 |
|
Mark Thom
|
af76068297
|
module-qualify callables more liberally but not for built-ins (#1243)
|
2022-01-20 17:40:45 -07:00 |
|