]>
Repositorios git - scryer-prolog.git/log
Mark Thom [Wed, 25 Dec 2024 20:23:21 +0000 (12:23 -0800)]
qualify module quantification errors better (#2685)
Mark Thom [Wed, 25 Dec 2024 20:11:17 +0000 (12:11 -0800)]
style corrections
Mark Thom [Sat, 21 Dec 2024 01:42:09 +0000 (18:42 -0700)]
Merge pull request #2714 from triska/graphic_token
prevent accidental amalgamation of graphic token chars in output
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
Mark Thom [Wed, 18 Dec 2024 07:28:50 +0000 (23:28 -0800)]
leave variable modules uninstantiated (#2685)
Javier Sagredo [Wed, 18 Dec 2024 00:02:45 +0000 (01:02 +0100)]
Ensure max_assoc/3 is shown as documented
Markus Triska [Tue, 17 Dec 2024 21:51:47 +0000 (22:51 +0100)]
use round brackets for goals involving operators
Examples:
?- portray_clause(((+) :- a=b,(-))).
(+) :-
a=b,
(-).
true.
?- portray_clause((a :- (b :- c))).
a :-
(b:-c).
true.
This addresses #2715.
Currently, more round brackets than needed are emitted. Ideally, a
better approach to solve the issue here and also in toplevel.pl is
found in the future.
Markus Triska [Tue, 17 Dec 2024 18:51:11 +0000 (19:51 +0100)]
prevent accidental amalgamation of graphic token chars in output
This addresses #2713. Many thanks to @notoria for reporting this
excellent case!
Example:
?- portray_clause(A = @).
A= @ .
true.
At other positions the now inserted space is unnecessary, as in:
?- portray_clause((head:- @,b)).
head :-
@ ,
b.
true.
The toplevel has a similar issue:
?- C = # ; false.
C = # |<-- cursor is here; redundant space after #
There may be a way to solve this issue for all cases like this.
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
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
Mark Thom [Sat, 14 Dec 2024 04:39:12 +0000 (21:39 -0700)]
Merge pull request #2683 from ffortier/master
Support hermetic build environment
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
Mark Thom [Sat, 14 Dec 2024 04:38:32 +0000 (21:38 -0700)]
Merge pull request #2690 from notoria/next
Add '$random_integer'/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/
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
Mark Thom [Sat, 14 Dec 2024 03:02:21 +0000 (20:02 -0700)]
Merge pull request #2703 from jasonhemann/patch-6
s/avaibale/available/
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"
Jason Hemann [Fri, 13 Dec 2024 18:41:05 +0000 (13:41 -0500)]
s/avaibale/available/
Quick typo fix to docs.
bakaq [Thu, 12 Dec 2024 09:03:43 +0000 (06:03 -0300)]
cargo fmt
bakaq [Thu, 12 Dec 2024 08:59:59 +0000 (05:59 -0300)]
Use Cow<'a,B> for toplevel configuration
bakaq [Thu, 12 Dec 2024 08:49:52 +0000 (05:49 -0300)]
FIXME in Drop for QueryState
bakaq [Thu, 12 Dec 2024 08:43:23 +0000 (05:43 -0300)]
Leave residual goals for later
bakaq [Thu, 12 Dec 2024 08:38:55 +0000 (05:38 -0300)]
Derive Default for StreamConfig
bakaq [Thu, 12 Dec 2024 08:34:16 +0000 (05:34 -0300)]
Rename lib_machine_tests.rs to tests.rs
Jason Hemann [Wed, 11 Dec 2024 13:05:03 +0000 (08:05 -0500)]
Update builtins.pl
s/compund/compound/
Jason Hemann [Wed, 11 Dec 2024 10:46:28 +0000 (05:46 -0500)]
Update builtins.pl
Simplifying docstring.
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`.
Jason Hemann [Wed, 11 Dec 2024 02:07:48 +0000 (21:07 -0500)]
"bound to an atom"
Quick typo.
Jason Hemann [Wed, 11 Dec 2024 01:56:44 +0000 (20:56 -0500)]
s/performance characters/performance characteristics/
Small typo fix in docs.
Adrián Arroyo Calle [Mon, 9 Dec 2024 12:52:43 +0000 (13:52 +0100)]
Remove Scryer Prolog Meetup 2024 announcements
bakaq [Sun, 8 Dec 2024 22:47:18 +0000 (19:47 -0300)]
Handle errors in QueryState
bakaq [Sat, 12 Oct 2024 22:08:45 +0000 (19:08 -0300)]
Migrate benches
bakaq [Sat, 12 Oct 2024 20:41:48 +0000 (17:41 -0300)]
Migrate tests to new API
bakaq [Sat, 12 Oct 2024 20:04:29 +0000 (17:04 -0300)]
Separate lib_machine tests into separate file
bakaq [Sat, 12 Oct 2024 19:58:38 +0000 (16:58 -0300)]
Shrink MVP API surface
bakaq [Sat, 12 Oct 2024 19:48:13 +0000 (16:48 -0300)]
Rename PrologTerm to Term
bakaq [Sat, 12 Oct 2024 19:42:56 +0000 (16:42 -0300)]
Remove parsed_results.rs
bakaq [Sat, 12 Oct 2024 19:07:13 +0000 (16:07 -0300)]
MachineBuilder
bakaq [Mon, 30 Sep 2024 02:53:37 +0000 (23:53 -0300)]
Fix Machine links
bakaq [Mon, 30 Sep 2024 02:50:15 +0000 (23:50 -0300)]
#[deny(missing_docs)]
bakaq [Mon, 30 Sep 2024 02:45:40 +0000 (23:45 -0300)]
Document test methods
bakaq [Mon, 30 Sep 2024 02:42:11 +0000 (23:42 -0300)]
Add interfaces for QueryState methods
bakaq [Mon, 30 Sep 2024 02:30:57 +0000 (23:30 -0300)]
Docs for Machine and QueryState
bakaq [Mon, 30 Sep 2024 02:22:51 +0000 (23:22 -0300)]
Docs for run_binary()
bakaq [Mon, 30 Sep 2024 02:21:18 +0000 (23:21 -0300)]
LeafAnswer docs and success checking methods
bakaq [Mon, 30 Sep 2024 02:09:47 +0000 (23:09 -0300)]
More PrologTerm documentation
bakaq [Mon, 30 Sep 2024 02:06:43 +0000 (23:06 -0300)]
Conjunctions, disjunction, and LeafAnswer to PrologTerm
bakaq [Mon, 30 Sep 2024 01:30:24 +0000 (22:30 -0300)]
Associated functions for creating PrologTerm
bakaq [Mon, 30 Sep 2024 01:12:29 +0000 (22:12 -0300)]
Basic docs and non_exhaustive for PrologTerm
bakaq [Mon, 30 Sep 2024 00:30:27 +0000 (21:30 -0300)]
Machine and stream config rework
bakaq [Sat, 7 Sep 2024 04:15:05 +0000 (01:15 -0300)]
Rename LeafAnswer
bakaq [Sat, 7 Sep 2024 02:06:20 +0000 (23:06 -0300)]
Rename PrologTerm
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.
notoria [Sun, 8 Dec 2024 19:00:00 +0000 (20:00 +0100)]
Add '$random_integer'/3
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)
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
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.
Francis Fortier [Thu, 5 Dec 2024 14:38:38 +0000 (09:38 -0500)]
export toplevel repl/0
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)
Jason Hemann [Thu, 5 Dec 2024 06:19:51 +0000 (01:19 -0500)]
s/red/read/ typo in documentation.
Small quick fix.
Javier Sagredo [Tue, 3 Dec 2024 23:05:10 +0000 (00:05 +0100)]
Ignore `KeyEventKind::Release` events when reading a char
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