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
Bennet Bleßmann
775b14c537
add detail to comment
2024-08-11 19:20:27 +02:00
Bennet Bleßmann
058b9c5e51
switch invalid term from type to domain error
2024-08-05 21:25:44 +02:00
Bennet Bleßmann
deed6fb984
fix remaining use of declaration instead of directive
2024-08-05 21:25:43 +02:00
Bennet Bleßmann
2d04c0dcf8
remove obsolete ExistenceError::Declaration
2024-08-05 21:25:43 +02:00
Bennet Bleßmann
5a0abd713e
change declaration to directive
2024-08-05 21:25:43 +02:00
Bennet Bleßmann
df33da111e
ajust/add devlaration errors to be more standard compliant
2024-08-05 21:25:43 +02:00
Bennet Bleßmann
17a816eff4
impl PartialEq<str> and PartialEq<&str> for Atom
2024-08-05 21:25:42 +02:00
Bennet Bleßmann
880e22d164
adjust errors to be more standard compliant
2024-08-05 21:25:42 +02:00
Bennet Bleßmann
c16d2d4147
fix compilation for 1.77
2024-08-05 21:25:42 +02:00
Bennet Bleßmann
59af900aaf
split up CompilationError::InconsistentEntry
2024-08-05 21:25:42 +02:00
Bennet Bleßmann
409f56ea37
use an enum for OpDesc spec
2024-08-05 21:25:36 +02:00
Bennet Bleßmann
4009b40029
replace derive_deref with derive_more
...
- the latter already used in our transitive dependencies
- derive_more appears better maintained
2024-08-04 02:40:26 +02:00
Bennet Bleßmann
260c52adec
replace select by scrape
...
- the latter appears better maintained and more up to date
- removes some dupplicate/outdated transitive deps
2024-08-04 02:35:36 +02:00