Jason Hemann
eef9f74a68
Documentation for read/2
...
Mirrored the wording in the docstrings for `read/1` and `read_term/3`.
2024-12-10 21:18:09 -05:00
Mark Thom
dba9c9a0a7
instantiate module resolutions for meta-predicate lookups when expanding calls ( #2255 , #2619 , #2684 )
2024-12-06 23:30:36 -08:00
Mark Thom
ea02b54e7f
Merge pull request #2677 from jasagredo/js/get-single-char-windows
...
Ignore `KeyEventKind::Release` events when reading a char
2024-12-05 20:25:25 -07:00
Jason Hemann
d7bf7445f1
s/red/read/ typo in documentation.
...
Small quick fix.
2024-12-05 01:19:51 -05:00
Javier Sagredo
8e5ddebddb
Ignore KeyEventKind::Release events when reading a char
2024-12-04 00:05:10 +01:00
Mark Thom
ff03432624
admit YF in current_op/3 ( #2639 )
2024-11-14 22:41:43 -07:00
Stephan Renatus
e78914219e
toplevel: add more Stop=continue, remove nesting
...
Signed-off-by: Stephan Renatus <stephan@styra.com >
2024-11-03 13:31:47 +01:00
Stephan Renatus
620077d8c1
toplevel.pl: attempt to fix continue/stop logic
...
Signed-off-by: Stephan Renatus <stephan@styra.com >
2024-11-02 21:07:02 +01:00
Stephan Renatus
556b7c733f
toplevel.pl: fix arity mismatch in read_input/2
...
I ran into the same problem today and I figured I'd take a stab at it.
Unfortunately, I'm not certain it is the right approach, but it no
longer errors like it did before.
Fixes #2650 .
Signed-off-by: Stephan Renatus <stephan@styra.com >
2024-11-01 15:42:50 +01:00
Mark Thom
c39ea4818a
Merge pull request #2527 from bakaq/leaf_answers_callbacks
...
Toplevel reimplementation with leaf answer callbacks
2024-10-13 12:13:08 -06:00
bakaq
90d418a181
Fix priority in op/3
2024-10-12 23:37:58 -03:00
Mark Thom
9785a04b3a
Merge pull request #2596 from Skgland/issue-2588
...
fix issue #2588
2024-10-05 22:12:45 -06:00
Bennet Bleßmann
e9f03c89a6
fix issue #2588
2024-10-04 19:25:34 +02:00
bakaq
190929e4ac
Remove trailing whitespace in toplevel.pl
2024-10-01 21:58:59 -03:00
bakaq
3bc1885606
Fix not compiling without hostname feature
2024-09-29 16:51:11 -03:00
Mark Thom
383eb5bdd9
Merge pull request #2523 from bakaq/visibility
...
Be conservative with visibility
2024-09-24 23:16:44 -06:00
Mark Thom
3fa6b69a79
Merge pull request #2533 from hurufu/fix-warnings
...
Assorted small fixes
2024-09-18 18:39:54 -06:00
Mark Thom
0bc3d67298
Merge pull request #2534 from hurufu/document_non_counted_backtracking
...
Document non counted backtracking
2024-09-16 17:41:53 -06:00
bakaq
238f1bd639
Convert library(error) docs to Doclog format
2024-09-16 16:47:00 -03:00
Aleksy Grabowski
4b0f9558b3
Change wording for non_counted_backtracking comment
2024-09-07 08:24:46 +02:00
Aleksy Grabowski
c922ed8b0a
Explain non_counted_backtracking a little bit more
2024-09-07 08:14:37 +02:00
Aleksy Grabowski
3af24a8067
Revert "Explain non_counted_backtracking a little bit more"
...
This reverts commit 2b73107631 .
2024-09-07 08:13:10 +02:00
bakaq
fdd6579230
Add mechanism to stop query
2024-09-07 02:06:01 -03:00
bakaq
16734ec7e4
Fix Clippy
2024-09-06 21:34:49 -03:00
bakaq
d32f3ee2f3
Fix warnings
2024-09-06 18:42:31 -03:00
bakaq
ada9ba98cc
Make macros private
2024-09-06 17:17:04 -03:00
bakaq
a885e87ef7
Add argument with extra info to callback
2024-09-06 14:59:17 -03:00
bakaq
e369c15a27
Documentation for run_query/3 and run_query_goal/4
2024-09-06 14:55:39 -03:00
bakaq
afa7af3de6
Address review comments and remove old toplevel
2024-09-06 14:28:17 -03:00
Aleksy Grabowski
d3071988b2
Revert "Remove unnecessary "unsafe" block to fix compiler warning"
...
This reverts commit 7af93f1532 .
2024-09-06 10:26:17 +02:00
Aleksy Grabowski
7af93f1532
Remove unnecessary "unsafe" block to fix compiler warning
2024-09-06 08:20:13 +02:00
Aleksy Grabowski
2b73107631
Explain non_counted_backtracking a little bit more
2024-09-06 08:15:45 +02:00
Aleksy Grabowski
61c258f49e
Fix mistake in predicate indicator
2024-09-06 08:07:21 +02:00
bakaq
9f4d31a825
Toplevel reimplementation with leaf answer callbacks
2024-09-03 13:43:31 -03:00
bakaq
806e980cca
Be conservative with visibility
2024-09-03 01:02:01 -03:00
Mark Thom
5c39e2a5a1
Merge pull request #2475 from bakaq/value_heap_walk
...
Value heap walk in lib_machine
2024-08-19 16:33:13 -06:00
bakaq
e24396d78a
Fix order of variables in bindings
2024-08-19 14:38:53 -03:00
Mark Thom
264e3e9dd6
Merge pull request #2474 from Skgland/fix-looping-memory-allocation
...
Fix looping memory allocation
2024-08-17 20:58:03 -06:00
Bennet Bleßmann
c24a51b633
fix looping from issue 2467
2024-08-17 23:37:12 +02:00
bakaq
c1b88cee99
Fix partial strings ending in lists
2024-08-16 08:11:11 -03:00
bakaq
8736526b35
Fix lists of chars as strings
2024-08-16 00:34:46 -03:00
bakaq
7afc08af47
Represent atom [] as empty list
2024-08-16 00:01:25 -03:00
bakaq
12aaae5fc0
Differentiate anonymous variables
2024-08-15 20:08:29 -03:00
bakaq
82a7d7efbd
Value::from_heapcell() implemented with heap walk
2024-08-14 23:44:52 -03:00
bakaq
37a906cf37
Value::from_heapcell()
2024-08-14 23:44:52 -03:00
bakaq
ed1b25cb30
Tests for run_query_iter()
2024-08-14 20:02:03 -03:00
bakaq
bc262db6d7
Implement run_query() in terms of run_query_iter()
2024-08-14 19:59:42 -03:00
bakaq
86a2c5e2ed
Add run_query_iter()
2024-08-14 19:59:36 -03:00
Bennet Bleßmann
620bf385d1
include the type name for better pin-pointing of the error source
...
- only done here as all other places are non-generic and the panic already includes file and line info, only here are we in a generic context and might need more differentiation
2024-08-11 21:53:02 +02:00
Bennet Bleßmann
cc51b8150d
check whether (re-)allocation succeeded
...
fixes mthom/scryer-prolog#2449
2024-08-11 19:20:33 +02:00