]> Repositorios git - scryer-prolog.git/log
scryer-prolog.git
11 months agocorrectly increment s_offset for partial strings (#2897)
Mark Thom [Sun, 20 Apr 2025 23:53:36 +0000 (16:53 -0700)]
correctly increment s_offset for partial strings (#2897)

11 months agofix typo in try_from_partial_string
Mark Thom [Sun, 20 Apr 2025 07:07:55 +0000 (00:07 -0700)]
fix typo in try_from_partial_string

11 months agofix read_s logic around HeapPtr::PStrLoc (#2894)
Mark Thom [Sun, 20 Apr 2025 06:51:26 +0000 (23:51 -0700)]
fix read_s logic around HeapPtr::PStrLoc (#2894)

11 months agorepair cyclic PStrLoc handling in heap_print.rs
Mark Thom [Fri, 18 Apr 2025 07:03:33 +0000 (00:03 -0700)]
repair cyclic PStrLoc handling in heap_print.rs

11 months agoremove compare_pstr_to_string and related result type
Mark Thom [Fri, 18 Apr 2025 03:20:38 +0000 (20:20 -0700)]
remove compare_pstr_to_string and related result type

11 months agoENHANCED: dedicated faster branches for repositionable streams
Markus Triska [Thu, 17 Apr 2025 20:14:37 +0000 (22:14 +0200)]
ENHANCED: dedicated faster branches for repositionable streams

rebis-dev makes the speed difference especially apparent due to the
linear scan of strings on the heap in partial_string_tail/2 which is
now avoided for repositionable streams, notably files.

This addresses #2888 reported and analyzed by @haijinSk. Many thanks!

11 months agocorrect GetPartialString (#2887)
Mark Thom [Thu, 17 Apr 2025 05:20:31 +0000 (22:20 -0700)]
correct GetPartialString (#2887)

11 months agogeneralize compare_pstr_segments
Mark Thom [Wed, 16 Apr 2025 05:10:02 +0000 (22:10 -0700)]
generalize compare_pstr_segments

11 months agoensure '\0' atom is static & never inlined (#2880)
Mark Thom [Sun, 13 Apr 2025 01:48:47 +0000 (18:48 -0700)]
ensure '\0' atom is static & never inlined (#2880)

11 months agofix root reading of complete strings (#2882)
Mark Thom [Sun, 13 Apr 2025 00:32:11 +0000 (17:32 -0700)]
fix root reading of complete strings (#2882)

11 months agosome cosmetic tweaks
Mark Thom [Sat, 12 Apr 2025 23:43:51 +0000 (16:43 -0700)]
some cosmetic tweaks

11 months agomark done item
Markus Triska [Sat, 12 Apr 2025 20:54:04 +0000 (22:54 +0200)]
mark done item

11 months agocorrect and simplify compute_pstr_size
Mark Thom [Sat, 12 Apr 2025 07:22:29 +0000 (00:22 -0700)]
correct and simplify compute_pstr_size

11 months agocorrect create_partial_string (#2593)
Mark Thom [Sat, 12 Apr 2025 06:59:53 +0000 (23:59 -0700)]
correct create_partial_string (#2593)

11 months agorestore more tabu_list use to compare_term_tests (#2633)
Mark Thom [Fri, 11 Apr 2025 04:06:44 +0000 (21:06 -0700)]
restore more tabu_list use to compare_term_tests (#2633)

11 months agorestore tabu_list insertions to PStr-Lis comparisons (#2636)
Mark Thom [Fri, 11 Apr 2025 04:03:29 +0000 (21:03 -0700)]
restore tabu_list insertions to PStr-Lis comparisons (#2636)

11 months agodo not allow strings containing null characters to be inlined (#2848)
Mark Thom [Thu, 10 Apr 2025 06:03:28 +0000 (23:03 -0700)]
do not allow strings containing null characters to be inlined (#2848)

11 months agomove CodeIndex to F64Table-like table
Mark Thom [Sun, 6 Apr 2025 19:11:57 +0000 (12:11 -0700)]
move CodeIndex to F64Table-like table

11 months agoRevert "remove Term"
Mark Thom [Sat, 15 Mar 2025 20:19:26 +0000 (13:19 -0700)]
Revert "remove Term"

This reverts commit 3b5879841aedecba5057c70c71da0ba23e5cd84a.

11 months agomake write_with forward return values, use it to correct partial string handling
Mark Thom [Sat, 15 Mar 2025 09:10:56 +0000 (02:10 -0700)]
make write_with forward return values, use it to correct partial string handling

11 months agoread Str focus properly in build_meta_predicate_clause
Mark Thom [Sat, 15 Mar 2025 09:10:04 +0000 (02:10 -0700)]
read Str focus properly in build_meta_predicate_clause

11 months agosome fixes in response to miri
Mark Thom [Thu, 13 Mar 2025 19:33:37 +0000 (12:33 -0700)]
some fixes in response to miri

11 months agoFix parsing of \x0\ in partial strings
bakaq [Sun, 2 Mar 2025 21:51:57 +0000 (18:51 -0300)]
Fix parsing of \x0\ in partial strings

11 months agocopy partial string blocks properly in all solutions predicates
Mark Thom [Tue, 4 Mar 2025 08:17:20 +0000 (00:17 -0800)]
copy partial string blocks properly in all solutions predicates

11 months agorun cargo fmt
Mark Thom [Sat, 1 Mar 2025 21:58:50 +0000 (13:58 -0800)]
run cargo fmt

11 months agoremove pstr_vec
Mark Thom [Sat, 7 Dec 2024 05:47:36 +0000 (21:47 -0800)]
remove pstr_vec

11 months agoglobalize ALIGN_CELL/ALIGN, fix compute_pstr_size
Mark Thom [Tue, 25 Feb 2025 03:54:35 +0000 (19:54 -0800)]
globalize ALIGN_CELL/ALIGN, fix compute_pstr_size

11 months agoFix allocate_pstr randomly refusing to properly allocate memory
Emilie Burgun [Sun, 29 Dec 2024 22:54:03 +0000 (23:54 +0100)]
Fix allocate_pstr randomly refusing to properly allocate memory

This one was a toughie: it turns out that using `ptr::align_of()`` was
a bad idea, since the buffer in `Heap` itself is not aligned to
`Heap::heap_cell_alignment()`, so `ptr::align_of()` would sometimes
return lower values than expected.

That made for an heisenbug: if the alignment of the heap happened to be 4,
then the bug wouldn't trigger.

11 months agoFix Heap::drop not accounting for null-initialized HeapInner
Emilie Burgun [Sun, 29 Dec 2024 21:04:40 +0000 (22:04 +0100)]
Fix Heap::drop not accounting for null-initialized HeapInner

11 months agodereference clause_clause value, reserve more parser space (#2579)
Mark Thom [Fri, 15 Nov 2024 05:04:09 +0000 (22:04 -0700)]
dereference clause_clause value, reserve more parser space (#2579)

11 months agounmark_cell_bits! in push_literal (#2645)
Mark Thom [Fri, 1 Nov 2024 04:58:29 +0000 (22:58 -0600)]
unmark_cell_bits! in push_literal (#2645)

11 months agointroduce bespoke Heap type for in-heap partial strings
Mark Thom [Tue, 14 May 2024 00:00:56 +0000 (18:00 -0600)]
introduce bespoke Heap type for in-heap partial strings

11 months agovariable revision
Mark Thom [Wed, 31 Jul 2024 20:04:55 +0000 (14:04 -0600)]
variable revision

11 months agoremove Term
Mark Thom [Tue, 16 Jul 2024 21:38:22 +0000 (15:38 -0600)]
remove Term

11 months agorestore ubuntu testing to ci.yml with rust version 1.77
Mark Thom [Mon, 13 May 2024 20:40:09 +0000 (14:40 -0600)]
restore ubuntu testing to ci.yml with rust version 1.77

11 months agothrow syntax error after parsing infinite floats (#2998)
Mark Thom [Tue, 8 Jul 2025 04:30:04 +0000 (21:30 -0700)]
throw syntax error after parsing infinite floats (#2998)

11 months agodon't skip '.' char in parse_number_from_string (#2997)
Mark Thom [Tue, 8 Jul 2025 04:28:07 +0000 (21:28 -0700)]
don't skip '.' char in parse_number_from_string (#2997)

11 months agomodify number_token to produce partial lexing results (#2986)
Mark Thom [Sat, 5 Jul 2025 07:58:28 +0000 (00:58 -0700)]
modify number_token to produce partial lexing results (#2986)

11 months agobe more careful about concatenating '.' in parse_number_from_string (#2986)
Mark Thom [Wed, 2 Jul 2025 01:40:49 +0000 (18:40 -0700)]
be more careful about concatenating '.' in parse_number_from_string (#2986)

11 months agoMerge pull request #2970 from notoria/clpz
Mark Thom [Tue, 17 Jun 2025 04:02:38 +0000 (21:02 -0700)]
Merge pull request #2970 from notoria/clpz

Make `(mod)/2` stronger in CLP(Z)

11 months agoMerge pull request #2980 from triska/hophrase
Mark Thom [Tue, 17 Jun 2025 04:02:20 +0000 (21:02 -0700)]
Merge pull request #2980 from triska/hophrase

use nonterminal indicators, correct meta_predicate/1 for higher-order phrase//N

11 months agouse nonterminal indicators, correct meta_predicate/1 for higher-order phrase//N
Markus Triska [Sat, 14 Jun 2025 20:43:35 +0000 (22:43 +0200)]
use nonterminal indicators, correct meta_predicate/1 for higher-order phrase//N

Noted by @UWN in https://github.com/mthom/scryer-prolog/discussions/2872.

Many thanks!

12 months agoMerge pull request #2965 from rotu/zygomorphic-puma
Mark Thom [Wed, 28 May 2025 05:18:47 +0000 (22:18 -0700)]
Merge pull request #2965 from rotu/zygomorphic-puma

Remove obsolete compatibility for Rust<1.80

12 months agoStrengthened `(mod)/2` in CLP(Z)
notoria [Sun, 25 May 2025 11:39:31 +0000 (13:39 +0200)]
Strengthened `(mod)/2` in CLP(Z)

?- 8 #= -1 mod #Y.
   clpz:(Y in 9..sup), clpz:(-1 mod#Y#=8). % unexpected
Expected: Y = 9
?- 8 #= -12 mod #Y.
   clpz:(Y in 9..sup), clpz:(-12 mod#Y#=8). % unexpected
Expected `Y` with finite domain

12 months agoStrengthened `(mod)/2` in CLP(Z)
notoria [Sun, 25 May 2025 11:38:56 +0000 (13:38 +0200)]
Strengthened `(mod)/2` in CLP(Z)

?- 0 #= 2 mod #Y.
   clpz:(Y in inf.. -1\/1..sup), clpz:(2 mod#Y#=0). % unexpected
Expected: clpz:(Y in-2.. -1\/1..2), clpz:(2 mod Y#=0)

12 months agoStrengthened `(mod)/2` in CLP(Z)
notoria [Sun, 25 May 2025 11:37:28 +0000 (13:37 +0200)]
Strengthened `(mod)/2` in CLP(Z)

?- Z = 8, X = 9, #Z #= #X mod #Y.
   Z = 8, X = 9, clpz:(Y in 9..sup), clpz:(9 mod#Y#=8). % unexpected
Expected: false

12 months agoRemove obsolete compatibility for Rust<1.80
Dan Rose [Thu, 22 May 2025 18:57:55 +0000 (13:57 -0500)]
Remove obsolete compatibility for Rust<1.80

12 months agoMerge pull request #2955 from rotu/radical-cockroach
Mark Thom [Tue, 20 May 2025 05:47:41 +0000 (22:47 -0700)]
Merge pull request #2955 from rotu/radical-cockroach

Remove xor as a builtin infix operator

12 months agoMerge pull request #2956 from bakaq/update_arcu_libffi
Mark Thom [Wed, 14 May 2025 04:26:29 +0000 (21:26 -0700)]
Merge pull request #2956 from bakaq/update_arcu_libffi

Update dependencies and fix breaking changes in libffi-sys and arcu

12 months agoxor is not a standard operator
Dan Rose [Tue, 13 May 2025 20:00:00 +0000 (15:00 -0500)]
xor is not a standard operator

12 months agoUpdate dependencies and fix breaking changes in libffi-sys and arcu
bakaq [Tue, 13 May 2025 22:53:13 +0000 (19:53 -0300)]
Update dependencies and fix breaking changes in libffi-sys and arcu

13 months agoMerge pull request #2950 from triska/meetups
Mark Thom [Fri, 9 May 2025 05:53:04 +0000 (22:53 -0700)]
Merge pull request #2950 from triska/meetups

link to Scryer Prolog Meetup 2025 page and its announcement

13 months agolink to Scryer Prolog Meetup 2025 page and its announcement
Markus Triska [Fri, 9 May 2025 05:38:13 +0000 (07:38 +0200)]
link to Scryer Prolog Meetup 2025 page and its announcement

13 months agoMerge pull request #2802 from adri326/null-stream-safety
Mark Thom [Fri, 2 May 2025 00:35:30 +0000 (17:35 -0700)]
Merge pull request #2802 from adri326/null-stream-safety

Fix UB when interacting with Stream::Null(_)

13 months agoMerge pull request #2930 from triska/meetups
Mark Thom [Thu, 1 May 2025 01:51:43 +0000 (18:51 -0700)]
Merge pull request #2930 from triska/meetups

ADDED: Section about Scryer Prolog Meetups.

13 months agocorrect grammar
Markus Triska [Wed, 30 Apr 2025 17:53:33 +0000 (19:53 +0200)]
correct grammar

13 months agoADDED: Section about Scryer Prolog Meetups.
Markus Triska [Wed, 30 Apr 2025 17:53:10 +0000 (19:53 +0200)]
ADDED: Section about Scryer Prolog Meetups.

13 months agoMerge branch 'null-stream-safety' of https://github.com/adri326/scryer-prolog into... adri326-null-stream-safety origin/adri326-null-stream-safety
Mark Thom [Wed, 30 Apr 2025 06:32:48 +0000 (23:32 -0700)]
Merge branch 'null-stream-safety' of https://github.com/adri326/scryer-prolog into adri326-null-stream-safety

13 months agoMerge pull request #2901 from matteob8/patch-1
Mark Thom [Wed, 30 Apr 2025 04:41:07 +0000 (21:41 -0700)]
Merge pull request #2901 from matteob8/patch-1

Update http_server.pl

13 months agouse loader:strip_subst_module/4 in second module check of retract/1 (#2891, #2893)
Mark Thom [Wed, 23 Apr 2025 06:28:19 +0000 (23:28 -0700)]
use loader:strip_subst_module/4 in second module check of retract/1 (#2891, #2893)

13 months agoMerge pull request #2905 from bakaq/bump-msrv
Mark Thom [Wed, 23 Apr 2025 05:28:02 +0000 (22:28 -0700)]
Merge pull request #2905 from bakaq/bump-msrv

Bump MSRV and update flake.lock

13 months agoRemove Ubuntu 20.04 runner
bakaq [Tue, 22 Apr 2025 20:32:36 +0000 (17:32 -0300)]
Remove Ubuntu 20.04 runner

13 months agoBump MSRV and update flake.lock
bakaq [Tue, 22 Apr 2025 20:10:29 +0000 (17:10 -0300)]
Bump MSRV and update flake.lock

13 months agoMerge pull request #2895 from hakujin/master
Mark Thom [Tue, 22 Apr 2025 05:11:43 +0000 (22:11 -0700)]
Merge pull request #2895 from hakujin/master

Update `libffi` and `libffi-sys` dependencies to fix aarch64 macOS build

13 months agoUpdate http_server.pl
matteob8 [Mon, 21 Apr 2025 18:54:43 +0000 (20:54 +0200)]
Update http_server.pl

changed top/0 to the more meaningful run/0 name.

13 months agoUpdate http_server.pl
matteob8 [Mon, 21 Apr 2025 17:13:20 +0000 (19:13 +0200)]
Update http_server.pl

Avoid overwriting of predicate and made explicit reference to the loading of library(http/http_server).

13 months agoUpdate `libffi` and `libffi-sys` dependencies to fix aarch64 macOS build
Colin King [Sat, 19 Apr 2025 02:40:29 +0000 (21:40 -0500)]
Update `libffi` and `libffi-sys` dependencies to fix aarch64 macOS build

Pulls in latest `libffi` and `libffi-sys` dependencies to fix a
compilation error on aarch64 macOS builds.

13 months agoMerge pull request #2873 from constraintAutomaton/doc/update-readme-wasm-example
Mark Thom [Sun, 13 Apr 2025 04:09:40 +0000 (21:09 -0700)]
Merge pull request #2873 from constraintAutomaton/doc/update-readme-wasm-example

update of the WebAssembly example in README

13 months agoMerge pull request #2879 from triska/ad4m
Mark Thom [Sun, 13 Apr 2025 04:09:20 +0000 (21:09 -0700)]
Merge pull request #2879 from triska/ad4m

enumerate applications, add AD4M by @coasys

14 months agoenumerate applications, add AD4M by @coasys
Markus Triska [Sat, 12 Apr 2025 07:05:28 +0000 (09:05 +0200)]
enumerate applications, add AD4M by @coasys

14 months agoExample update to use iterable.
constraintAutomaton [Sat, 12 Apr 2025 05:18:00 +0000 (07:18 +0200)]
Example update to use iterable.

14 months agoMerge branch 'master' into doc/update-readme-wasm-example
constraintAutomaton [Sat, 12 Apr 2025 05:00:14 +0000 (07:00 +0200)]
Merge branch 'master' into doc/update-readme-wasm-example

14 months agoMerge pull request #2875 from constraintAutomaton/feature/wasm-result-iterator
Mark Thom [Sat, 12 Apr 2025 03:52:45 +0000 (20:52 -0700)]
Merge pull request #2875 from constraintAutomaton/feature/wasm-result-iterator

Make `WasmQueryState` Iterable in JavaScript

14 months agomark cyclic lists with ellipses at the head (#2635)
Mark Thom [Fri, 11 Apr 2025 05:39:35 +0000 (22:39 -0700)]
mark cyclic lists with ellipses at the head (#2635)

14 months agoMade WasmQueryState an iterable.
constraintAutomaton [Thu, 10 Apr 2025 17:02:04 +0000 (19:02 +0200)]
Made WasmQueryState an iterable.

14 months agoMerge pull request #2874 from triska/read_from_chars_instantiated
Mark Thom [Thu, 10 Apr 2025 15:47:21 +0000 (08:47 -0700)]
Merge pull request #2874 from triska/read_from_chars_instantiated

generalize read_from_chars/2 and read_term_from_chars/3 to allow instantiated Term

14 months agogeneralize read_from_chars/2 and read_term_from_chars/3 to allow instantiated Term
Markus Triska [Wed, 9 Apr 2025 20:23:12 +0000 (22:23 +0200)]
generalize read_from_chars/2 and read_term_from_chars/3 to allow instantiated Term

This addresses part of #2871, raised by @haijinSk. Many thanks!

14 months agoFix DOM manipulation to avoid deprecated functions in Sudoku solver example.
constraintAutomaton [Tue, 8 Apr 2025 18:13:02 +0000 (20:13 +0200)]
Fix DOM manipulation to avoid deprecated functions in Sudoku solver example.

14 months agobetter identation of the knowledge base.
constraintAutomaton [Tue, 8 Apr 2025 17:29:34 +0000 (19:29 +0200)]
better identation of the knowledge base.

14 months agoUseless console.log in the example deleted.
constraintAutomaton [Tue, 8 Apr 2025 17:17:20 +0000 (19:17 +0200)]
Useless console.log in the example deleted.

14 months agoUpdate README with working WebAssembly usage example.
constraintAutomaton [Tue, 8 Apr 2025 17:12:27 +0000 (19:12 +0200)]
Update README with working WebAssembly usage example.

14 months agoMerge pull request #2869 from triska/format_w
Mark Thom [Sun, 6 Apr 2025 22:31:59 +0000 (15:31 -0700)]
Merge pull request #2869 from triska/format_w

ENHANCED: format specifier ~w more faithfully emulates write/1

14 months agomove ~w to least prominent position, point to more suitable specifiers
Markus Triska [Sat, 5 Apr 2025 08:01:22 +0000 (10:01 +0200)]
move ~w to least prominent position, point to more suitable specifiers

In particular, "~q" is a safe better choice.

14 months agoENHANCED: format specifier ~w more faithfully emulates write/1
Markus Triska [Sat, 5 Apr 2025 07:47:29 +0000 (09:47 +0200)]
ENHANCED: format specifier ~w more faithfully emulates write/1

In particular, variables now start with "_".

Example:

    ?- format("~w", [X]).
    %@ _A   true.

Found thanks to a discussion initiated by @haijinSk:

    https://github.com/mthom/scryer-prolog/discussions/2863

14 months agoMerge pull request #2861 from averms-forks/update-deps
Mark Thom [Tue, 1 Apr 2025 02:49:54 +0000 (19:49 -0700)]
Merge pull request #2861 from averms-forks/update-deps

Update and clean up dependencies.

14 months agoMerge pull request #2860 from averms-forks/push-spzqsznlnlnm
Mark Thom [Tue, 1 Apr 2025 02:49:46 +0000 (19:49 -0700)]
Merge pull request #2860 from averms-forks/push-spzqsznlnlnm

Use backticks when referencing predicate in docs.

14 months agoInstall correct locked version of iai-callgrind-runner in CI.
Aman Verma [Mon, 31 Mar 2025 09:03:31 +0000 (04:03 -0500)]
Install correct locked version of iai-callgrind-runner in CI.

14 months agoUpdate lexical.
Aman Verma [Fri, 28 Mar 2025 19:05:45 +0000 (14:05 -0500)]
Update lexical.

The previous versions of lexical and lexical-core we were using were
subject to the following security advisories:

- https://rustsec.org/advisories/RUSTSEC-2023-0086
- https://rustsec.org/advisories/RUSTSEC-2023-0055

14 months agoRemove unused deps: regex, assert_cmd, predicates-core.
Aman Verma [Fri, 28 Mar 2025 02:11:21 +0000 (21:11 -0500)]
Remove unused deps: regex, assert_cmd, predicates-core.

regex was introduced in commit 9e85be11fecd00b3d0be8b828eb0dd5cfb57e60a
but isn't used anymore.

assert_cmd and predicates-core were introduced in
e1c681fffead4d63caa0d0b902196224b651f465 for tests but aren't used
anymore.

Dependency count in Cargo.lock drops from 428 to 421.

14 months agoUpdate ordered-float to 5.0.0.
Aman Verma [Fri, 28 Mar 2025 02:02:14 +0000 (21:02 -0500)]
Update ordered-float to 5.0.0.

14 months agoUpdate scraper and ego-tree.
Aman Verma [Fri, 28 Mar 2025 01:35:01 +0000 (20:35 -0500)]
Update scraper and ego-tree.

This gets rid of 4 dependencies, as verified by the output of

    yj -tj < Cargo.lock | jq -c '.package | length'

Previously it was 432, now it is 428.

14 months agoBump dependencies except for arcu v0.1.1 and half 2.4.1.
Aman Verma [Fri, 28 Mar 2025 01:20:46 +0000 (20:20 -0500)]
Bump dependencies except for arcu v0.1.1 and half 2.4.1.

arcu is not updated for reasons laid out in issue #2749.
half is not updated because going to 2.5.0 would require an MSRV bump 1.81.

Previous versions of idna, openssl, and ring were subject to the
following security advisories:

- https://rustsec.org/advisories/RUSTSEC-2025-0009
- https://rustsec.org/advisories/RUSTSEC-2025-0004
- https://rustsec.org/advisories/RUSTSEC-2024-0421

14 months agoUse backticks when referencing predicate in docs.
Aman Verma [Thu, 27 Mar 2025 23:49:03 +0000 (18:49 -0500)]
Use backticks when referencing predicate in docs.

Trivial change but this prevents the HTML output from being erroneously italicized.

15 months agoMerge pull request #2847 from triska/call_with_error_context
Mark Thom [Sun, 9 Mar 2025 20:21:25 +0000 (13:21 -0700)]
Merge pull request #2847 from triska/call_with_error_context

ADDED: type pair

15 months agoADDED: type pair
Markus Triska [Sat, 8 Mar 2025 13:42:48 +0000 (14:42 +0100)]
ADDED: type pair

15 months agoMerge pull request #2846 from triska/call_with_error_context
Mark Thom [Sat, 8 Mar 2025 08:39:03 +0000 (00:39 -0800)]
Merge pull request #2846 from triska/call_with_error_context

ADDED: call_with_error_context/2

15 months agoADDED: call_with_error_context/2
Markus Triska [Sat, 8 Mar 2025 08:12:17 +0000 (09:12 +0100)]
ADDED: call_with_error_context/2

See https://github.com/mthom/scryer-prolog/discussions/2839 for more information.

15 months agoMerge pull request #2837 from notoria/next
Mark Thom [Sat, 1 Mar 2025 21:40:09 +0000 (13:40 -0800)]
Merge pull request #2837 from notoria/next

Fix conversion from float to rational

15 months agoMerge pull request #2836 from triska/format_floats
Mark Thom [Sat, 1 Mar 2025 09:45:55 +0000 (01:45 -0800)]
Merge pull request #2836 from triska/format_floats

Correct handling of floats in format/2 and portray_clause/1

15 months agoFIXED: portray_clause/1 for numbers
Markus Triska [Fri, 28 Feb 2025 07:22:54 +0000 (08:22 +0100)]
FIXED: portray_clause/1 for numbers