]> Repositorios git - scryer-prolog.git/log
scryer-prolog.git
17 months agoMerge pull request #2717 from jasagredo/js/small-doc
Mark Thom [Sat, 21 Dec 2024 01:41:51 +0000 (18:41 -0700)]
Merge pull request #2717 from jasagredo/js/small-doc

Ensure max_assoc/3 is shown as documented

17 months agoleave variable modules uninstantiated (#2685)
Mark Thom [Wed, 18 Dec 2024 07:28:50 +0000 (23:28 -0800)]
leave variable modules uninstantiated (#2685)

17 months agoEnsure max_assoc/3 is shown as documented
Javier Sagredo [Wed, 18 Dec 2024 00:02:45 +0000 (01:02 +0100)]
Ensure max_assoc/3 is shown as documented

17 months agoMerge pull request #2582 from bakaq/rework_library_interface
Mark Thom [Sat, 14 Dec 2024 04:46:43 +0000 (21:46 -0700)]
Merge pull request #2582 from bakaq/rework_library_interface

Rework library interface

17 months agoMerge pull request #2691 from aarroyoc/remove-meetup-2024
Mark Thom [Sat, 14 Dec 2024 04:39:38 +0000 (21:39 -0700)]
Merge pull request #2691 from aarroyoc/remove-meetup-2024

Remove Scryer Prolog Meetup 2024 announcements

17 months agoMerge pull request #2683 from ffortier/master
Mark Thom [Sat, 14 Dec 2024 04:39:12 +0000 (21:39 -0700)]
Merge pull request #2683 from ffortier/master

Support hermetic build environment

17 months agoMerge pull request #2689 from triska/weighted_maybe
Mark Thom [Sat, 14 Dec 2024 04:38:47 +0000 (21:38 -0700)]
Merge pull request #2689 from triska/weighted_maybe

introduce and use weighted_maybe/2

17 months agoMerge pull request #2690 from notoria/next
Mark Thom [Sat, 14 Dec 2024 04:38:32 +0000 (21:38 -0700)]
Merge pull request #2690 from notoria/next

Add '$random_integer'/3

17 months agoMerge pull request #2696 from jasonhemann/patch-3
Mark Thom [Sat, 14 Dec 2024 04:37:56 +0000 (21:37 -0700)]
Merge pull request #2696 from jasonhemann/patch-3

s/performance characters/performance characteristics/

17 months agoMerge pull request #2698 from jasonhemann/patch-5
Mark Thom [Sat, 14 Dec 2024 03:02:50 +0000 (20:02 -0700)]
Merge pull request #2698 from jasonhemann/patch-5

Documentation for read/2

17 months agoMerge pull request #2703 from jasonhemann/patch-6
Mark Thom [Sat, 14 Dec 2024 03:02:21 +0000 (20:02 -0700)]
Merge pull request #2703 from jasonhemann/patch-6

s/avaibale/available/

17 months agoMerge pull request #2697 from jasonhemann/patch-4
Mark Thom [Sat, 14 Dec 2024 02:57:21 +0000 (19:57 -0700)]
Merge pull request #2697 from jasonhemann/patch-4

"bound to an atom"

17 months agos/avaibale/available/
Jason Hemann [Fri, 13 Dec 2024 18:41:05 +0000 (13:41 -0500)]
s/avaibale/available/

Quick typo fix to docs.

17 months agocargo fmt
bakaq [Thu, 12 Dec 2024 09:03:43 +0000 (06:03 -0300)]
cargo fmt

17 months agoUse Cow<'a,B> for toplevel configuration
bakaq [Thu, 12 Dec 2024 08:59:59 +0000 (05:59 -0300)]
Use Cow<'a,B> for toplevel configuration

17 months agoFIXME in Drop for QueryState
bakaq [Thu, 12 Dec 2024 08:49:52 +0000 (05:49 -0300)]
FIXME in Drop for QueryState

17 months agoLeave residual goals for later
bakaq [Thu, 12 Dec 2024 08:43:23 +0000 (05:43 -0300)]
Leave residual goals for later

17 months agoDerive Default for StreamConfig
bakaq [Thu, 12 Dec 2024 08:38:55 +0000 (05:38 -0300)]
Derive Default for StreamConfig

17 months agoRename lib_machine_tests.rs to tests.rs
bakaq [Thu, 12 Dec 2024 08:34:16 +0000 (05:34 -0300)]
Rename lib_machine_tests.rs to tests.rs

18 months agoUpdate builtins.pl
Jason Hemann [Wed, 11 Dec 2024 13:05:03 +0000 (08:05 -0500)]
Update builtins.pl

s/compund/compound/

18 months agoUpdate builtins.pl
Jason Hemann [Wed, 11 Dec 2024 10:46:28 +0000 (05:46 -0500)]
Update builtins.pl

Simplifying docstring.

18 months agoDocumentation for read/2
Jason Hemann [Wed, 11 Dec 2024 02:18:09 +0000 (21:18 -0500)]
Documentation for read/2

Mirrored the wording in the docstrings for `read/1` and `read_term/3`.

18 months ago"bound to an atom"
Jason Hemann [Wed, 11 Dec 2024 02:07:48 +0000 (21:07 -0500)]
"bound to an atom"

Quick typo.

18 months agos/performance characters/performance characteristics/
Jason Hemann [Wed, 11 Dec 2024 01:56:44 +0000 (20:56 -0500)]
s/performance characters/performance characteristics/

Small typo fix in docs.

18 months agoRemove Scryer Prolog Meetup 2024 announcements
Adrián Arroyo Calle [Mon, 9 Dec 2024 12:52:43 +0000 (13:52 +0100)]
Remove Scryer Prolog Meetup 2024 announcements

18 months agoHandle errors in QueryState
bakaq [Sun, 8 Dec 2024 22:47:18 +0000 (19:47 -0300)]
Handle errors in QueryState

18 months agoMigrate benches
bakaq [Sat, 12 Oct 2024 22:08:45 +0000 (19:08 -0300)]
Migrate benches

18 months agoMigrate tests to new API
bakaq [Sat, 12 Oct 2024 20:41:48 +0000 (17:41 -0300)]
Migrate tests to new API

18 months agoSeparate lib_machine tests into separate file
bakaq [Sat, 12 Oct 2024 20:04:29 +0000 (17:04 -0300)]
Separate lib_machine tests into separate file

18 months agoShrink MVP API surface
bakaq [Sat, 12 Oct 2024 19:58:38 +0000 (16:58 -0300)]
Shrink MVP API surface

18 months agoRename PrologTerm to Term
bakaq [Sat, 12 Oct 2024 19:48:13 +0000 (16:48 -0300)]
Rename PrologTerm to Term

18 months agoRemove parsed_results.rs
bakaq [Sat, 12 Oct 2024 19:42:56 +0000 (16:42 -0300)]
Remove parsed_results.rs

18 months agoMachineBuilder
bakaq [Sat, 12 Oct 2024 19:07:13 +0000 (16:07 -0300)]
MachineBuilder

18 months agoFix Machine links
bakaq [Mon, 30 Sep 2024 02:53:37 +0000 (23:53 -0300)]
Fix Machine links

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 agointroduce and use weighted_maybe/2
Markus Triska [Sun, 8 Dec 2024 20:21:05 +0000 (21:21 +0100)]
introduce and use weighted_maybe/2

Many thanks to @hurufu for the very nice definition!

This is until library(random) provides this functionality,
and a good name is found for it. See #2670.

18 months agoAdd '$random_integer'/3
notoria [Sun, 8 Dec 2024 19:00:00 +0000 (20:00 +0100)]
Add '$random_integer'/3

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 agoexport toplevel repl/0
Francis Fortier [Thu, 5 Dec 2024 14:38:38 +0000 (09:38 -0500)]
export toplevel repl/0

18 months agobuild: resolve include_str path during the compilation of libraries.rs instead of...
Francis Fortier [Thu, 5 Dec 2024 14:10:52 +0000 (09:10 -0500)]
build: resolve include_str path during the compilation of libraries.rs instead of during he build.rs execution to support different build tools (bazel in this case)

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