]>
Repositorios git - scryer-prolog.git/log
Aleksy Grabowski [Thu, 5 Dec 2024 10:15:42 +0000 (11:15 +0100)]
Remove DCGs that have thrown an exception during term expansion
Some DCG constructs aren't supported and can't be expanded, here we
remove offending DCG rule and don't compile it at all – in a similar
fashion to what we do when incorrect goal was found – whole predicate
isn't getting compiled.
Fixes #2675
Mark Thom [Fri, 15 Nov 2024 05:39:56 +0000 (22:39 -0700)]
admit YF in current_op/3 (#2639)
Mark Thom [Fri, 15 Nov 2024 04:51:03 +0000 (05:51 +0100)]
Merge pull request #2652 from gruhn/patch-1
update Docker install instructions
Mark Thom [Fri, 15 Nov 2024 04:50:51 +0000 (05:50 +0100)]
Merge pull request #2653 from srenatus/sr/issue-2650
toplevel.pl: fix arity mismatch in read_input/2
Stephan Renatus [Sun, 3 Nov 2024 12:31:47 +0000 (13:31 +0100)]
toplevel: add more Stop=continue, remove nesting
Signed-off-by: Stephan Renatus <[email protected] >
Stephan Renatus [Sat, 2 Nov 2024 20:07:02 +0000 (21:07 +0100)]
toplevel.pl: attempt to fix continue/stop logic
Signed-off-by: Stephan Renatus <[email protected] >
Stephan Renatus [Fri, 1 Nov 2024 14:42:48 +0000 (15:42 +0100)]
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 <[email protected] >
Niklas Gruhn [Fri, 1 Nov 2024 09:58:44 +0000 (10:58 +0100)]
README: update Docker install instructions
Mark Thom [Tue, 29 Oct 2024 19:15:08 +0000 (13:15 -0600)]
Merge pull request #2647 from panasenco/master
Updated Dockerfile
Aram Panasenco [Mon, 28 Oct 2024 16:28:01 +0000 (10:28 -0600)]
Updated and tested Dockerfile
Mark Thom [Sun, 13 Oct 2024 18:13:08 +0000 (12:13 -0600)]
Merge pull request #2527 from bakaq/leaf_answers_callbacks
Toplevel reimplementation with leaf answer callbacks
bakaq [Sun, 13 Oct 2024 02:37:58 +0000 (23:37 -0300)]
Fix priority in op/3
Mark Thom [Sun, 6 Oct 2024 04:12:45 +0000 (22:12 -0600)]
Merge pull request #2596 from Skgland/issue-2588
fix issue #2588
Bennet Bleßmann [Fri, 4 Oct 2024 18:25:02 +0000 (20:25 +0200)]
fix miri
Bennet Bleßmann [Fri, 4 Oct 2024 17:25:34 +0000 (19:25 +0200)]
fix issue #2588
Bennet Bleßmann [Fri, 4 Oct 2024 17:11:26 +0000 (19:11 +0200)]
Merge remote-tracking branch 'upstream/master' into issue-2588
Bennet Bleßmann [Fri, 4 Oct 2024 17:09:35 +0000 (19:09 +0200)]
add test for load_html
bakaq [Wed, 2 Oct 2024 00:58:59 +0000 (21:58 -0300)]
Remove trailing whitespace in toplevel.pl
Mark Thom [Mon, 30 Sep 2024 03:09:22 +0000 (21:09 -0600)]
Merge pull request #2581 from bakaq/fix_hostname_feature
Fix not compiling without hostname feature
bakaq [Sun, 29 Sep 2024 19:50:06 +0000 (16:50 -0300)]
Fix not compiling without hostname feature
Mark Thom [Thu, 26 Sep 2024 16:50:51 +0000 (10:50 -0600)]
Merge pull request #2573 from srenatus/sr/readme-link-to-latest-releases
README: link to latest release
Stephan Renatus [Thu, 26 Sep 2024 07:43:26 +0000 (09:43 +0200)]
README: link to latest release
This will automatically redirect to the release marked "latest" in GitHub.
So the link won't become stale and doesn't need updating.
Signed-off-by: Stephan Renatus <[email protected] >
Mark Thom [Wed, 25 Sep 2024 05:16:44 +0000 (23:16 -0600)]
Merge pull request #2523 from bakaq/visibility
Be conservative with visibility
Mark Thom [Thu, 19 Sep 2024 00:39:54 +0000 (18:39 -0600)]
Merge pull request #2533 from hurufu/fix-warnings
Assorted small fixes
Mark Thom [Mon, 16 Sep 2024 23:41:53 +0000 (17:41 -0600)]
Merge pull request #2534 from hurufu/document_non_counted_backtracking
Document non counted backtracking
Mark Thom [Mon, 16 Sep 2024 23:41:18 +0000 (17:41 -0600)]
Merge pull request #2558 from bakaq/error_to_doclog
Convert library(error) docs to Doclog format
bakaq [Mon, 16 Sep 2024 19:46:55 +0000 (16:46 -0300)]
Convert library(error) docs to Doclog format
Aleksy Grabowski [Sat, 7 Sep 2024 06:22:47 +0000 (08:22 +0200)]
Change wording for non_counted_backtracking comment
Aleksy Grabowski [Fri, 6 Sep 2024 06:15:45 +0000 (08:15 +0200)]
Explain non_counted_backtracking a little bit more
Aleksy Grabowski [Sat, 7 Sep 2024 06:13:10 +0000 (08:13 +0200)]
Revert "Explain non_counted_backtracking a little bit more"
This reverts commit
2b7310763157eeaa8edb73a0f16217c5cd80e93f .
bakaq [Sat, 7 Sep 2024 05:06:01 +0000 (02:06 -0300)]
Add mechanism to stop query
bakaq [Fri, 6 Sep 2024 21:54:37 +0000 (18:54 -0300)]
Fix Clippy
bakaq [Fri, 6 Sep 2024 20:56:12 +0000 (17:56 -0300)]
Fix warnings
bakaq [Fri, 6 Sep 2024 19:51:10 +0000 (16:51 -0300)]
Make macros private
bakaq [Fri, 6 Sep 2024 17:59:17 +0000 (14:59 -0300)]
Add argument with extra info to callback
bakaq [Fri, 6 Sep 2024 17:55:39 +0000 (14:55 -0300)]
Documentation for run_query/3 and run_query_goal/4
bakaq [Fri, 6 Sep 2024 17:19:11 +0000 (14:19 -0300)]
Address review comments and remove old toplevel
Aleksy Grabowski [Fri, 6 Sep 2024 08:26:17 +0000 (10:26 +0200)]
Revert "Remove unnecessary "unsafe" block to fix compiler warning"
This reverts commit
7af93f153240b7ddb2023ea1a24d42db802e747a .
Aleksy Grabowski [Fri, 6 Sep 2024 08:25:45 +0000 (10:25 +0200)]
Revert "Fix rustc warning"
This reverts commit
7b09d447d6ed4533c773a0c492cbe5c7561794e8 .
Aleksy Grabowski [Fri, 6 Sep 2024 06:20:13 +0000 (08:20 +0200)]
Remove unnecessary "unsafe" block to fix compiler warning
Aleksy Grabowski [Fri, 6 Sep 2024 06:15:45 +0000 (08:15 +0200)]
Explain non_counted_backtracking a little bit more
Aleksy Grabowski [Fri, 6 Sep 2024 06:07:21 +0000 (08:07 +0200)]
Fix mistake in predicate indicator
Aleksy Grabowski [Fri, 12 Jul 2024 19:15:32 +0000 (21:15 +0200)]
Remove executable bit for files that don't need it
Aleksy Grabowski [Thu, 18 Jul 2024 06:15:25 +0000 (08:15 +0200)]
Fix rustc warning
bakaq [Tue, 3 Sep 2024 15:44:10 +0000 (12:44 -0300)]
Toplevel reimplementation with leaf answer callbacks
bakaq [Tue, 20 Aug 2024 02:19:09 +0000 (23:19 -0300)]
Be conservative with visibility
Mark Thom [Thu, 29 Aug 2024 18:22:46 +0000 (12:22 -0600)]
Merge pull request #2491 from coasys/reqwest-version-relax
Relax version constraint on reqwest dependency
Nicolas Luck [Thu, 22 Aug 2024 10:55:32 +0000 (12:55 +0200)]
Fix spelling of reqWest
Co-authored-by: Bennet Bleßmann <[email protected] >
Nicolas Luck [Tue, 20 Aug 2024 20:09:32 +0000 (22:09 +0200)]
Clean-up comment
Nicolas Luck [Tue, 20 Aug 2024 20:08:11 +0000 (22:08 +0200)]
More precise comment mentioning Deno
Co-authored-by: Bennet Bleßmann <[email protected] >
Mark Thom [Mon, 19 Aug 2024 22:33:13 +0000 (16:33 -0600)]
Merge pull request #2475 from bakaq/value_heap_walk
Value heap walk in lib_machine
bakaq [Mon, 19 Aug 2024 17:20:43 +0000 (14:20 -0300)]
Fix order of variables in bindings
Mark Thom [Sun, 18 Aug 2024 02:58:03 +0000 (20:58 -0600)]
Merge pull request #2474 from Skgland/fix-looping-memory-allocation
Fix looping memory allocation
Mark Thom [Sun, 18 Aug 2024 02:56:23 +0000 (20:56 -0600)]
Merge pull request #2495 from Skgland/fix2467
fix looping from issue #2467
Bennet Bleßmann [Sat, 17 Aug 2024 21:33:32 +0000 (23:33 +0200)]
fix looping from issue 2467
Nicolas Luck [Fri, 16 Aug 2024 14:16:16 +0000 (16:16 +0200)]
Explanatory comment for the wildcard patch version
Nicolas Luck [Fri, 16 Aug 2024 14:15:10 +0000 (16:15 +0200)]
Explanatory comment for the wildcard patch version
bakaq [Fri, 16 Aug 2024 11:08:05 +0000 (08:08 -0300)]
Fix partial strings ending in lists
bakaq [Fri, 16 Aug 2024 03:34:46 +0000 (00:34 -0300)]
Fix lists of chars as strings
bakaq [Fri, 16 Aug 2024 03:01:25 +0000 (00:01 -0300)]
Represent atom [] as empty list
bakaq [Thu, 15 Aug 2024 07:55:20 +0000 (04:55 -0300)]
Differentiate anonymous variables
Nicolas Luck [Thu, 15 Aug 2024 20:41:48 +0000 (22:41 +0200)]
typo
Nicolas Luck [Thu, 15 Aug 2024 20:40:35 +0000 (22:40 +0200)]
Relax constraint on version of reqwest dependency (Cargo will pick the latest patch that's possible, but not fail if another dep. has it pinned to something below patch 27)
bakaq [Sun, 11 Aug 2024 19:17:40 +0000 (16:17 -0300)]
Value::from_heapcell() implemented with heap walk
bakaq [Sun, 11 Aug 2024 17:12:34 +0000 (14:12 -0300)]
Value::from_heapcell()
Mark Thom [Thu, 15 Aug 2024 02:26:03 +0000 (20:26 -0600)]
Merge pull request #2472 from bakaq/query_iterator
Add run_query_iter()
bakaq [Wed, 14 Aug 2024 21:30:56 +0000 (18:30 -0300)]
Tests for run_query_iter()
bakaq [Wed, 14 Aug 2024 21:44:10 +0000 (18:44 -0300)]
Implement run_query() in terms of run_query_iter()
bakaq [Wed, 14 Aug 2024 21:39:59 +0000 (18:39 -0300)]
Add run_query_iter()
Mark Thom [Wed, 14 Aug 2024 12:36:16 +0000 (06:36 -0600)]
Merge pull request #2482 from bakaq/flake
Add flake.nix
Mark Thom [Wed, 14 Aug 2024 12:35:58 +0000 (06:35 -0600)]
Merge pull request #2485 from aarroyoc/learn-pages-docs
Upgrade docs to DocLog 2.0. Includes a test learning page
Adrián Arroyo Calle [Wed, 14 Aug 2024 09:19:08 +0000 (11:19 +0200)]
Upgrade docs to DocLog 2.0. Includes a test learning page
bakaq [Tue, 13 Aug 2024 17:27:48 +0000 (14:27 -0300)]
flake.nix
Bennet Bleßmann [Sun, 11 Aug 2024 19:53:02 +0000 (21:53 +0200)]
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
Bennet Bleßmann [Sun, 11 Aug 2024 17:19:00 +0000 (19:19 +0200)]
check whether (re-)allocation succeeded
fixes mthom/scryer-prolog#2449
Bennet Bleßmann [Sun, 11 Aug 2024 17:18:35 +0000 (19:18 +0200)]
add detail to comment
Mark Thom [Mon, 5 Aug 2024 20:25:33 +0000 (14:25 -0600)]
Merge pull request #2463 from Skgland/split-up-inconsitent-entry-error
Split up inconsistent entry error
Bennet Bleßmann [Sun, 4 Aug 2024 13:16:37 +0000 (15:16 +0200)]
switch invalid term from type to domain error
Bennet Bleßmann [Sun, 4 Aug 2024 10:24:44 +0000 (12:24 +0200)]
fix remaining use of declaration instead of directive
Bennet Bleßmann [Sun, 4 Aug 2024 10:23:31 +0000 (12:23 +0200)]
remove obsolete ExistenceError::Declaration
Bennet Bleßmann [Sun, 4 Aug 2024 10:10:15 +0000 (12:10 +0200)]
change declaration to directive
Bennet Bleßmann [Sat, 3 Aug 2024 20:59:29 +0000 (22:59 +0200)]
ajust/add devlaration errors to be more standard compliant
Bennet Bleßmann [Sat, 3 Aug 2024 20:41:02 +0000 (22:41 +0200)]
impl PartialEq<str> and PartialEq<&str> for Atom
Bennet Bleßmann [Sat, 3 Aug 2024 20:07:48 +0000 (22:07 +0200)]
adjust errors to be more standard compliant
Bennet Bleßmann [Sat, 3 Aug 2024 18:04:16 +0000 (20:04 +0200)]
fix compilation for 1.77
Bennet Bleßmann [Wed, 31 Jul 2024 21:49:42 +0000 (23:49 +0200)]
split up CompilationError::InconsistentEntry
Bennet Bleßmann [Sat, 3 Aug 2024 16:34:34 +0000 (18:34 +0200)]
add test for declaration errors
Bennet Bleßmann [Wed, 31 Jul 2024 21:48:27 +0000 (23:48 +0200)]
use an enum for OpDesc spec
Mark Thom [Mon, 5 Aug 2024 18:59:42 +0000 (12:59 -0600)]
Merge pull request #2466 from Skgland/upgrade-deps
Upgrade dependencies
Bennet Bleßmann [Sun, 4 Aug 2024 00:40:26 +0000 (02:40 +0200)]
replace derive_deref with derive_more
- the latter already used in our transitive dependencies
- derive_more appears better maintained
Bennet Bleßmann [Sun, 4 Aug 2024 00:35:36 +0000 (02:35 +0200)]
replace select by scrape
- the latter appears better maintained and more up to date
- removes some dupplicate/outdated transitive deps
Bennet Bleßmann [Sat, 3 Aug 2024 23:39:31 +0000 (01:39 +0200)]
resolve problems from deps upgrade
- downgrade reqwest to 0.11.27
- fixes problems with missmatched transitive dependencies between it and warp, mainly http
- replace deprecated ripemd160 with ripemd (as specified in the formers readme)
- indexmap: replace deprecated remove with functionally identical swap_remove
Bennet Bleßmann [Sat, 3 Aug 2024 22:01:45 +0000 (00:01 +0200)]
update/upgrade dependencies
Mark Thom [Sat, 3 Aug 2024 20:05:13 +0000 (14:05 -0600)]
Merge pull request #2462 from Skgland/fix-segfault
fix segfault by dropping loader state payload after resetting machine
Bennet Bleßmann [Sat, 3 Aug 2024 17:36:05 +0000 (19:36 +0200)]
prevent accidental double free by checking tag before drop
Bennet Bleßmann [Sat, 3 Aug 2024 17:27:32 +0000 (19:27 +0200)]
drop payload after resetting machine
- under some circumstances the payload is accessed durring reset which would cause a segfault if we drop the payload too early
Mark Thom [Fri, 26 Jul 2024 17:29:12 +0000 (11:29 -0600)]
Merge pull request #2457 from Skgland/library
simplify generated libraries map by using `include_str!`
Adrián Arroyo Calle [Mon, 8 Jul 2024 14:12:10 +0000 (16:12 +0200)]
Fix build on WASM after #2442
(cherry-pick of
3acf4c637b6f8b17bb0230edeaaae0507d9030d1 from PR
mthom/scryer-prolog#2446)
Bennet Bleßmann [Thu, 25 Jul 2024 22:13:49 +0000 (00:13 +0200)]
fix copy-past error
Bennet Bleßmann [Thu, 25 Jul 2024 21:09:17 +0000 (23:09 +0200)]
add a features for gating things we can use once 1.80 is msrv