]> Repositorios git - scryer-prolog.git/log
scryer-prolog.git
18 months ago#[deny(missing_docs)]
bakaq [Mon, 30 Sep 2024 02:50:15 +0000 (23:50 -0300)]
#[deny(missing_docs)]

18 months agoDocument test methods
bakaq [Mon, 30 Sep 2024 02:45:40 +0000 (23:45 -0300)]
Document test methods

18 months agoAdd interfaces for QueryState methods
bakaq [Mon, 30 Sep 2024 02:42:11 +0000 (23:42 -0300)]
Add interfaces for QueryState methods

18 months agoDocs for Machine and QueryState
bakaq [Mon, 30 Sep 2024 02:30:57 +0000 (23:30 -0300)]
Docs for Machine and QueryState

18 months agoDocs for run_binary()
bakaq [Mon, 30 Sep 2024 02:22:51 +0000 (23:22 -0300)]
Docs for run_binary()

18 months agoLeafAnswer docs and success checking methods
bakaq [Mon, 30 Sep 2024 02:21:18 +0000 (23:21 -0300)]
LeafAnswer docs and success checking methods

18 months agoMore PrologTerm documentation
bakaq [Mon, 30 Sep 2024 02:09:47 +0000 (23:09 -0300)]
More PrologTerm documentation

18 months agoConjunctions, disjunction, and LeafAnswer to PrologTerm
bakaq [Mon, 30 Sep 2024 02:06:43 +0000 (23:06 -0300)]
Conjunctions, disjunction, and LeafAnswer to PrologTerm

18 months agoAssociated functions for creating PrologTerm
bakaq [Mon, 30 Sep 2024 01:30:24 +0000 (22:30 -0300)]
Associated functions for creating PrologTerm

18 months agoBasic docs and non_exhaustive for PrologTerm
bakaq [Mon, 30 Sep 2024 01:12:29 +0000 (22:12 -0300)]
Basic docs and non_exhaustive for PrologTerm

18 months agoMachine and stream config rework
bakaq [Mon, 30 Sep 2024 00:30:27 +0000 (21:30 -0300)]
Machine and stream config rework

18 months agoRename LeafAnswer
bakaq [Sat, 7 Sep 2024 04:15:05 +0000 (01:15 -0300)]
Rename LeafAnswer

18 months agoRename PrologTerm
bakaq [Sat, 7 Sep 2024 02:06:20 +0000 (23:06 -0300)]
Rename PrologTerm

18 months agoinstantiate module resolutions for meta-predicate lookups when expanding calls (...
Mark Thom [Sat, 7 Dec 2024 07:30:36 +0000 (23:30 -0800)]
instantiate module resolutions for meta-predicate lookups when expanding calls (#2255, #2619, #2684)

18 months agoMerge pull request #2677 from jasagredo/js/get-single-char-windows
Mark Thom [Fri, 6 Dec 2024 03:25:25 +0000 (20:25 -0700)]
Merge pull request #2677 from jasagredo/js/get-single-char-windows

Ignore `KeyEventKind::Release` events when reading a char

18 months agoMerge pull request #2679 from jasonhemann/patch-2
Mark Thom [Fri, 6 Dec 2024 03:24:56 +0000 (20:24 -0700)]
Merge pull request #2679 from jasonhemann/patch-2

s/red/read/ typo in documentation.

18 months agos/red/read/ typo in documentation.
Jason Hemann [Thu, 5 Dec 2024 06:19:51 +0000 (01:19 -0500)]
s/red/read/ typo in documentation.

Small quick fix.

18 months agoIgnore `KeyEventKind::Release` events when reading a char
Javier Sagredo [Tue, 3 Dec 2024 23:05:10 +0000 (00:05 +0100)]
Ignore `KeyEventKind::Release` events when reading a char

18 months agoadmit YF in current_op/3 (#2639)
Mark Thom [Fri, 15 Nov 2024 05:39:56 +0000 (22:39 -0700)]
admit YF in current_op/3 (#2639)

18 months agoMerge pull request #2652 from gruhn/patch-1
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

18 months agoMerge pull request #2653 from srenatus/sr/issue-2650
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

19 months agotoplevel: add more Stop=continue, remove nesting
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]>
19 months agotoplevel.pl: attempt to fix continue/stop logic
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]>
19 months agotoplevel.pl: fix arity mismatch in read_input/2
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]>
19 months agoREADME: update Docker install instructions
Niklas Gruhn [Fri, 1 Nov 2024 09:58:44 +0000 (10:58 +0100)]
README: update Docker install instructions

19 months agoMerge pull request #2647 from panasenco/master
Mark Thom [Tue, 29 Oct 2024 19:15:08 +0000 (13:15 -0600)]
Merge pull request #2647 from panasenco/master

Updated Dockerfile

19 months agoUpdated and tested Dockerfile
Aram Panasenco [Mon, 28 Oct 2024 16:28:01 +0000 (10:28 -0600)]
Updated and tested Dockerfile

19 months agoMerge pull request #2527 from bakaq/leaf_answers_callbacks
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

19 months agoFix priority in op/3
bakaq [Sun, 13 Oct 2024 02:37:58 +0000 (23:37 -0300)]
Fix priority in op/3

20 months agoMerge pull request #2596 from Skgland/issue-2588
Mark Thom [Sun, 6 Oct 2024 04:12:45 +0000 (22:12 -0600)]
Merge pull request #2596 from Skgland/issue-2588

fix issue #2588

20 months agofix miri
Bennet Bleßmann [Fri, 4 Oct 2024 18:25:02 +0000 (20:25 +0200)]
fix miri

20 months agofix issue #2588
Bennet Bleßmann [Fri, 4 Oct 2024 17:25:34 +0000 (19:25 +0200)]
fix issue #2588

20 months agoMerge remote-tracking branch 'upstream/master' into 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

20 months agoadd test for load_html
Bennet Bleßmann [Fri, 4 Oct 2024 17:09:35 +0000 (19:09 +0200)]
add test for load_html

20 months agoRemove trailing whitespace in toplevel.pl
bakaq [Wed, 2 Oct 2024 00:58:59 +0000 (21:58 -0300)]
Remove trailing whitespace in toplevel.pl

20 months agoMerge pull request #2581 from bakaq/fix_hostname_feature
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

20 months agoFix not compiling without hostname feature
bakaq [Sun, 29 Sep 2024 19:50:06 +0000 (16:50 -0300)]
Fix not compiling without hostname feature

20 months agoMerge pull request #2573 from srenatus/sr/readme-link-to-latest-releases
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

20 months agoREADME: 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]>
20 months agoMerge pull request #2523 from bakaq/visibility
Mark Thom [Wed, 25 Sep 2024 05:16:44 +0000 (23:16 -0600)]
Merge pull request #2523 from bakaq/visibility

Be conservative with visibility

20 months agoMerge pull request #2533 from hurufu/fix-warnings
Mark Thom [Thu, 19 Sep 2024 00:39:54 +0000 (18:39 -0600)]
Merge pull request #2533 from hurufu/fix-warnings

Assorted small fixes

20 months agoMerge pull request #2534 from hurufu/document_non_counted_backtracking
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

20 months agoMerge pull request #2558 from bakaq/error_to_doclog
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

20 months agoConvert 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

21 months agoChange wording for non_counted_backtracking comment
Aleksy Grabowski [Sat, 7 Sep 2024 06:22:47 +0000 (08:22 +0200)]
Change wording for non_counted_backtracking comment

21 months agoExplain non_counted_backtracking a little bit more
Aleksy Grabowski [Fri, 6 Sep 2024 06:15:45 +0000 (08:15 +0200)]
Explain non_counted_backtracking a little bit more

21 months agoRevert "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.

21 months agoAdd mechanism to stop query
bakaq [Sat, 7 Sep 2024 05:06:01 +0000 (02:06 -0300)]
Add mechanism to stop query

21 months agoFix Clippy
bakaq [Fri, 6 Sep 2024 21:54:37 +0000 (18:54 -0300)]
Fix Clippy

21 months agoFix warnings
bakaq [Fri, 6 Sep 2024 20:56:12 +0000 (17:56 -0300)]
Fix warnings

21 months agoMake macros private
bakaq [Fri, 6 Sep 2024 19:51:10 +0000 (16:51 -0300)]
Make macros private

21 months agoAdd argument with extra info to callback
bakaq [Fri, 6 Sep 2024 17:59:17 +0000 (14:59 -0300)]
Add argument with extra info to callback

21 months agoDocumentation for run_query/3 and run_query_goal/4
bakaq [Fri, 6 Sep 2024 17:55:39 +0000 (14:55 -0300)]
Documentation for run_query/3 and run_query_goal/4

21 months agoAddress review comments and remove old toplevel
bakaq [Fri, 6 Sep 2024 17:19:11 +0000 (14:19 -0300)]
Address review comments and remove old toplevel

21 months agoRevert "Remove unnecessary "unsafe" block to fix compiler warning"
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.

21 months agoRevert "Fix rustc warning"
Aleksy Grabowski [Fri, 6 Sep 2024 08:25:45 +0000 (10:25 +0200)]
Revert "Fix rustc warning"

This reverts commit 7b09d447d6ed4533c773a0c492cbe5c7561794e8.

21 months agoRemove unnecessary "unsafe" block to fix compiler warning
Aleksy Grabowski [Fri, 6 Sep 2024 06:20:13 +0000 (08:20 +0200)]
Remove unnecessary "unsafe" block to fix compiler warning

21 months agoExplain non_counted_backtracking a little bit more
Aleksy Grabowski [Fri, 6 Sep 2024 06:15:45 +0000 (08:15 +0200)]
Explain non_counted_backtracking a little bit more

21 months agoFix mistake in predicate indicator
Aleksy Grabowski [Fri, 6 Sep 2024 06:07:21 +0000 (08:07 +0200)]
Fix mistake in predicate indicator

21 months agoRemove executable bit for files that don't need it
Aleksy Grabowski [Fri, 12 Jul 2024 19:15:32 +0000 (21:15 +0200)]
Remove executable bit for files that don't need it

21 months agoFix rustc warning
Aleksy Grabowski [Thu, 18 Jul 2024 06:15:25 +0000 (08:15 +0200)]
Fix rustc warning

21 months agoToplevel reimplementation with leaf answer callbacks
bakaq [Tue, 3 Sep 2024 15:44:10 +0000 (12:44 -0300)]
Toplevel reimplementation with leaf answer callbacks

21 months agoBe conservative with visibility
bakaq [Tue, 20 Aug 2024 02:19:09 +0000 (23:19 -0300)]
Be conservative with visibility

21 months agoMerge pull request #2491 from coasys/reqwest-version-relax
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

21 months agoFix spelling of reqWest
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]>
21 months agoClean-up comment
Nicolas Luck [Tue, 20 Aug 2024 20:09:32 +0000 (22:09 +0200)]
Clean-up comment

21 months agoMore precise comment mentioning Deno
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]>
21 months agoMerge pull request #2475 from bakaq/value_heap_walk
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

21 months agoFix order of variables in bindings
bakaq [Mon, 19 Aug 2024 17:20:43 +0000 (14:20 -0300)]
Fix order of variables in bindings

21 months agoMerge pull request #2474 from Skgland/fix-looping-memory-allocation
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

21 months agoMerge pull request #2495 from Skgland/fix2467
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

21 months agofix looping from issue 2467
Bennet Bleßmann [Sat, 17 Aug 2024 21:33:32 +0000 (23:33 +0200)]
fix looping from issue 2467

21 months agoExplanatory comment for the wildcard patch version
Nicolas Luck [Fri, 16 Aug 2024 14:16:16 +0000 (16:16 +0200)]
Explanatory comment for the wildcard patch version

21 months agoExplanatory 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

21 months agoFix partial strings ending in lists
bakaq [Fri, 16 Aug 2024 11:08:05 +0000 (08:08 -0300)]
Fix partial strings ending in lists

21 months agoFix lists of chars as strings
bakaq [Fri, 16 Aug 2024 03:34:46 +0000 (00:34 -0300)]
Fix lists of chars as strings

21 months agoRepresent atom [] as empty list
bakaq [Fri, 16 Aug 2024 03:01:25 +0000 (00:01 -0300)]
Represent atom [] as empty list

21 months agoDifferentiate anonymous variables
bakaq [Thu, 15 Aug 2024 07:55:20 +0000 (04:55 -0300)]
Differentiate anonymous variables

21 months agotypo
Nicolas Luck [Thu, 15 Aug 2024 20:41:48 +0000 (22:41 +0200)]
typo

21 months agoRelax constraint on version of reqwest dependency (Cargo will pick the latest patch...
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)

21 months agoValue::from_heapcell() implemented with heap walk
bakaq [Sun, 11 Aug 2024 19:17:40 +0000 (16:17 -0300)]
Value::from_heapcell() implemented with heap walk

21 months agoValue::from_heapcell()
bakaq [Sun, 11 Aug 2024 17:12:34 +0000 (14:12 -0300)]
Value::from_heapcell()

21 months agoMerge pull request #2472 from bakaq/query_iterator
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()

21 months agoTests for run_query_iter()
bakaq [Wed, 14 Aug 2024 21:30:56 +0000 (18:30 -0300)]
Tests for run_query_iter()

21 months agoImplement run_query() in terms of run_query_iter()
bakaq [Wed, 14 Aug 2024 21:44:10 +0000 (18:44 -0300)]
Implement run_query() in terms of run_query_iter()

21 months agoAdd run_query_iter()
bakaq [Wed, 14 Aug 2024 21:39:59 +0000 (18:39 -0300)]
Add run_query_iter()

21 months agoMerge pull request #2482 from bakaq/flake
Mark Thom [Wed, 14 Aug 2024 12:36:16 +0000 (06:36 -0600)]
Merge pull request #2482 from bakaq/flake

Add flake.nix

21 months agoMerge pull request #2485 from aarroyoc/learn-pages-docs
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

21 months agoUpgrade 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

21 months agoflake.nix
bakaq [Tue, 13 Aug 2024 17:27:48 +0000 (14:27 -0300)]
flake.nix

22 months agoinclude the type name for better pin-pointing of the error source
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

22 months agocheck whether (re-)allocation succeeded
Bennet Bleßmann [Sun, 11 Aug 2024 17:19:00 +0000 (19:19 +0200)]
check whether (re-)allocation succeeded

fixes mthom/scryer-prolog#2449

22 months agoadd detail to comment
Bennet Bleßmann [Sun, 11 Aug 2024 17:18:35 +0000 (19:18 +0200)]
add detail to comment

22 months agoMerge pull request #2463 from Skgland/split-up-inconsitent-entry-error
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

22 months agoswitch invalid term from type to domain error
Bennet Bleßmann [Sun, 4 Aug 2024 13:16:37 +0000 (15:16 +0200)]
switch invalid term from type to domain error

22 months agofix remaining use of declaration instead of directive
Bennet Bleßmann [Sun, 4 Aug 2024 10:24:44 +0000 (12:24 +0200)]
fix remaining use of declaration instead of directive

22 months agoremove obsolete ExistenceError::Declaration
Bennet Bleßmann [Sun, 4 Aug 2024 10:23:31 +0000 (12:23 +0200)]
remove obsolete ExistenceError::Declaration

22 months agochange declaration to directive
Bennet Bleßmann [Sun, 4 Aug 2024 10:10:15 +0000 (12:10 +0200)]
change declaration to directive

22 months agoajust/add devlaration errors to be more standard compliant
Bennet Bleßmann [Sat, 3 Aug 2024 20:59:29 +0000 (22:59 +0200)]
ajust/add devlaration errors to be more standard compliant

22 months agoimpl PartialEq<str> and PartialEq<&str> for Atom
Bennet Bleßmann [Sat, 3 Aug 2024 20:41:02 +0000 (22:41 +0200)]
impl PartialEq<str> and PartialEq<&str> for Atom