]>
Repositorios git - scryer-prolog.git/log
Mark Thom [Fri, 30 Jun 2023 06:26:18 +0000 (00:26 -0600)]
Merge pull request #1851 from triska/operator_bracketing
bracket all operators that are direct operands of (=)/2
Markus Triska [Fri, 30 Jun 2023 05:34:15 +0000 (07:34 +0200)]
bracket all operators that are direct operands of (=)/2
This addresses #804.
Mark [Thu, 29 Jun 2023 20:58:15 +0000 (14:58 -0600)]
fix ReadlineStream peek_char using CharReader
Mark [Thu, 29 Jun 2023 18:58:15 +0000 (12:58 -0600)]
read the cell written to by mark_var when needed in compile_is (#1846)
Mark [Thu, 29 Jun 2023 18:14:06 +0000 (12:14 -0600)]
introduce CutPoint heap tag so that they can be offset by call_continuation/1
Mark Thom [Thu, 29 Jun 2023 18:11:12 +0000 (12:11 -0600)]
Merge pull request #1849 from triska/showterm
remove unneeded single quotes
Markus Triska [Thu, 29 Jun 2023 17:25:23 +0000 (19:25 +0200)]
remove unneeded single quotes
Mark [Wed, 28 Jun 2023 23:31:43 +0000 (17:31 -0600)]
correct and generalize current_predicate/1
Mark [Tue, 27 Jun 2023 23:35:10 +0000 (17:35 -0600)]
unify stack variables to streams in unify_constant (#1845)
Mark [Tue, 27 Jun 2023 22:39:10 +0000 (16:39 -0600)]
better detect syntax errors in lexer.rs (#1771)
Mark Thom [Tue, 27 Jun 2023 21:26:33 +0000 (15:26 -0600)]
Merge pull request #1844 from triska/copy_term_nat
use copy_term_nat/2
Markus Triska [Tue, 27 Jun 2023 20:37:23 +0000 (22:37 +0200)]
use copy_term_nat/2
Mark [Tue, 27 Jun 2023 18:23:40 +0000 (12:23 -0600)]
enable unification of streams to alias atoms (#1823)
Mark [Tue, 27 Jun 2023 17:08:29 +0000 (11:08 -0600)]
support module resolution in current_predicate/1 (#1817)
Mark [Tue, 27 Jun 2023 16:41:15 +0000 (10:41 -0600)]
fix builtin_predicate (#1819)
Mark [Tue, 27 Jun 2023 16:30:55 +0000 (10:30 -0600)]
remove tabling attributes in each module's attribute_goals//1 (#1825)
Mark [Mon, 26 Jun 2023 22:32:30 +0000 (16:32 -0600)]
properly account for partial string offsets in '$skip_max_list' (#1827)
Mark [Sat, 24 Jun 2023 23:03:46 +0000 (17:03 -0600)]
mark chunk boundary at beginning of disjunct in disjuncts.rs (#1843)
Mark [Sat, 24 Jun 2023 20:12:04 +0000 (14:12 -0600)]
fix string incompleteness (#1828)
Mark Thom [Sat, 24 Jun 2023 19:13:07 +0000 (13:13 -0600)]
Merge pull request #1842 from infogulch/release-on-tag
Fix tags trigger; bump MSRV to 1.65
infogulch [Sat, 24 Jun 2023 18:21:42 +0000 (13:21 -0500)]
Bump msrv to 1.65 due to bumping rug to 1.19
https://gitlab.com/tspiteri/rug#version-1190-news-2023-01-06
infogulch [Sat, 24 Jun 2023 18:05:57 +0000 (13:05 -0500)]
Fix tags trigger
Mark [Sat, 24 Jun 2023 16:59:29 +0000 (10:59 -0600)]
fix branch subsumption bug (#1840, #1841)
Mark Thom [Sat, 24 Jun 2023 15:19:22 +0000 (09:19 -0600)]
Merge pull request #1838 from triska/get_line_to_chars
MODIFIED: read_line_to_chars/3 is now called get_line_to_chars/3
Mark [Sat, 24 Jun 2023 15:11:30 +0000 (09:11 -0600)]
update README
Markus Triska [Sat, 24 Jun 2023 09:48:28 +0000 (11:48 +0200)]
another case of "read" --> "get", for an only internally used predicate
Markus Triska [Sat, 24 Jun 2023 09:47:32 +0000 (11:47 +0200)]
MODIFIED: read_line_to_chars/3 is now called get_line_to_chars/3
This is for consistency with other I/O predicates, where "read" always
indicates Prolog terms. Please adjust your programs accordingly.
Mark [Fri, 23 Jun 2023 22:49:27 +0000 (16:49 -0600)]
correct code_walker.rs in light of compilation improvements
Mark [Fri, 23 Jun 2023 20:57:29 +0000 (14:57 -0600)]
Merge branch 'compiling_disj'
Mark [Fri, 23 Jun 2023 20:13:40 +0000 (14:13 -0600)]
correct reversions after rebase
Mark [Fri, 23 Jun 2023 18:53:21 +0000 (12:53 -0600)]
polish perm free list management
infogulch [Fri, 23 Jun 2023 03:14:44 +0000 (22:14 -0500)]
Add steps to publish binaries when releases are tagged
Mark [Fri, 23 Jun 2023 18:24:34 +0000 (12:24 -0600)]
free local cut variables after cut
Mark [Fri, 23 Jun 2023 17:13:51 +0000 (11:13 -0600)]
mark is/2 allocated permanent variables as safe, add CompareNumber terms to ClauseType::is_inlined
dependabot[bot] [Wed, 21 Jun 2023 22:54:36 +0000 (22:54 +0000)]
Bump openssl from 0.10.48 to 0.10.55
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.48 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.48...openssl-v0.10.55)
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected]>
Mark [Sat, 10 Jun 2023 07:25:47 +0000 (01:25 -0600)]
improve call/N implementation (#1829)
Mark [Tue, 6 Jun 2023 06:58:44 +0000 (00:58 -0600)]
set_local_value does not make values safe (#1812)
Mark [Tue, 30 May 2023 02:49:54 +0000 (20:49 -0600)]
read set_value args from temp regs of put_unsafe_value (#1812)
Markus Triska [Mon, 29 May 2023 09:12:00 +0000 (11:12 +0200)]
FIXED: correct dereferencing in atom_codes/2 and number_codes/2.
This addresses #1818.
Test case:
run :-
length(Ls, L),
portray_clause(L),
maplist(=(X), Ls),
X = Y,
Y = 12,
atom_codes(_, Ls),
false.
Adrián Arroyo Calle [Sun, 28 May 2023 22:29:53 +0000 (00:29 +0200)]
Rename INDEX.md to INDEX.dj and add banner about Scryer Prolog Meetup
Mark [Fri, 26 May 2023 21:19:07 +0000 (15:19 -0600)]
read from machine stack in stackful pre-order iterator (#1812)
notoria [Sat, 27 May 2023 11:47:14 +0000 (13:47 +0200)]
Compute correctly the domain of the remainder
notoria [Sat, 27 May 2023 11:19:19 +0000 (13:19 +0200)]
Don't add variable
?- Z #= 0, Z #= X mod Y.
Z = 0, clpz:(_A*Y#=X), clpz:(Y in inf.. -1\/1..sup) % Unexpected.
The expected result:
Z = 0, clpz:(X mod Y#=0), clpz:(Y in inf.. -1\/1..sup).
notoria [Sat, 27 May 2023 11:08:25 +0000 (13:08 +0200)]
Remove and move comments
Mark [Fri, 26 May 2023 21:19:07 +0000 (15:19 -0600)]
optionally read from machine stack in stackful pre-order iterator (#1812)
Mark [Wed, 24 May 2023 19:43:52 +0000 (13:43 -0600)]
affirm integers as rational/1 (#1810)
Adrián Arroyo Calle [Wed, 17 May 2023 16:19:19 +0000 (18:19 +0200)]
Update select crate to 0.6.0 and remove warning
Markus Triska [Tue, 16 May 2023 20:42:10 +0000 (22:42 +0200)]
FIXED: correctly reset counter in reset_gensym/2 (#1807)
Many thanks to @infradig for detecting this issue and suggesting this
correction!
Markus Triska [Tue, 16 May 2023 20:41:20 +0000 (22:41 +0200)]
shorten gensym/2
Markus Triska [Sun, 14 May 2023 07:14:10 +0000 (09:14 +0200)]
extend logic to all control and whitespace characters
This addresses #1802.
Mark [Wed, 10 May 2023 06:04:35 +0000 (00:04 -0600)]
use same logic to print Chars and Atoms (#1804)
Markus Triska [Wed, 3 May 2023 22:50:27 +0000 (00:50 +0200)]
rely on first instantiated argument indexing in the definitions of foldl/N
This allows shorter and more natural definitions.
Markus Triska [Wed, 3 May 2023 19:56:04 +0000 (21:56 +0200)]
ENHANCED: allow Roman numerals in strings
Example:
?- X = "ↁ".
X = "ↁ".
This addresses #1790.
Markus Triska [Wed, 3 May 2023 21:23:53 +0000 (23:23 +0200)]
FIXED: consistent read/write of further control characters, and non-breaking space
Example:
?- X = '\xa0\'.
X = '\xa0\'.
This addresses #1768.
Mark [Fri, 23 Jun 2023 00:50:20 +0000 (18:50 -0600)]
make tests compatible
Mark [Fri, 23 Jun 2023 00:28:10 +0000 (18:28 -0600)]
backtrack on emission of unsafe register instructions on internal branches
Mark [Sat, 17 Jun 2023 22:28:56 +0000 (16:28 -0600)]
implement new disjunction compilation
Mark Thom [Tue, 31 Jan 2023 06:26:50 +0000 (23:26 -0700)]
remove BuildIf, BuildNot, BuildThen TermIterState variants
Mark Thom [Sun, 1 Jan 2023 18:04:46 +0000 (11:04 -0700)]
correct chunk type labeling
Mark Thom [Wed, 28 Dec 2022 06:42:35 +0000 (23:42 -0700)]
remove GetLevelAndUnify and replace it with GetCutPoint
Mark Thom [Wed, 28 Dec 2022 06:19:18 +0000 (23:19 -0700)]
add QueryTerm::ChunkTypeBoundary
Mark Thom [Wed, 28 Dec 2022 04:29:29 +0000 (21:29 -0700)]
delete ChunkedTerm, chunked iteration
Mark Thom [Tue, 6 Dec 2022 03:49:23 +0000 (20:49 -0700)]
new TermIterState variants
Mark Thom [Sun, 13 Nov 2022 17:13:37 +0000 (10:13 -0700)]
variable classification al a carte
Mark Thom [Wed, 2 Nov 2022 03:10:15 +0000 (21:10 -0600)]
add more variable probing, chunk type labeling
Mark Thom [Tue, 18 Oct 2022 04:56:08 +0000 (22:56 -0600)]
adapt code generation
Mark Thom [Tue, 4 Oct 2022 15:24:37 +0000 (09:24 -0600)]
add classifications and occurrence counting
Mark Thom [Wed, 28 Sep 2022 03:04:52 +0000 (21:04 -0600)]
milestone marker for surgery
Mark Thom [Thu, 1 Sep 2022 23:03:00 +0000 (17:03 -0600)]
begin adapting the techniques of "Compiling Large Disjunctions"
Mark Thom [Fri, 23 Jun 2023 18:01:32 +0000 (12:01 -0600)]
Merge pull request #1834 from infogulch/ci-publish-releases
Add steps to publish binaries when releases are tagged
infogulch [Fri, 23 Jun 2023 03:14:44 +0000 (22:14 -0500)]
Add steps to publish binaries when releases are tagged
Mark Thom [Thu, 22 Jun 2023 17:30:56 +0000 (11:30 -0600)]
Merge pull request #1833 from mthom/dependabot/cargo/openssl-0.10.55
Bump openssl from 0.10.48 to 0.10.55
dependabot[bot] [Wed, 21 Jun 2023 22:54:36 +0000 (22:54 +0000)]
Bump openssl from 0.10.48 to 0.10.55
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.48 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.48...openssl-v0.10.55)
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected]>
Mark [Sat, 10 Jun 2023 07:25:47 +0000 (01:25 -0600)]
improve call/N implementation (#1829)
Mark [Tue, 6 Jun 2023 06:58:44 +0000 (00:58 -0600)]
set_local_value does not make values safe (#1812)
Mark [Tue, 30 May 2023 02:49:54 +0000 (20:49 -0600)]
read set_value args from temp regs of put_unsafe_value (#1812)
Mark Thom [Mon, 29 May 2023 16:15:43 +0000 (10:15 -0600)]
Merge pull request #1822 from triska/master
FIXED: correct dereferencing in atom_codes/2 and number_codes/2.
Markus Triska [Mon, 29 May 2023 09:12:00 +0000 (11:12 +0200)]
FIXED: correct dereferencing in atom_codes/2 and number_codes/2.
This addresses #1818.
Test case:
run :-
length(Ls, L),
portray_clause(L),
maplist(=(X), Ls),
X = Y,
Y = 12,
atom_codes(_, Ls),
false.
Mark Thom [Sun, 28 May 2023 22:39:05 +0000 (16:39 -0600)]
Merge pull request #1820 from aarroyoc/banner-meetup
Rename INDEX.md to INDEX.dj and add banner about Scryer Prolog Meetup
Adrián Arroyo Calle [Sun, 28 May 2023 22:29:53 +0000 (00:29 +0200)]
Rename INDEX.md to INDEX.dj and add banner about Scryer Prolog Meetup
Mark [Fri, 26 May 2023 21:19:07 +0000 (15:19 -0600)]
read from machine stack in stackful pre-order iterator (#1812)
Mark Thom [Sat, 27 May 2023 17:07:50 +0000 (11:07 -0600)]
Merge pull request #1816 from notoria/clpz
Small fixes for `CLP(ℤ)`
notoria [Sat, 27 May 2023 11:47:14 +0000 (13:47 +0200)]
Compute correctly the domain of the remainder
notoria [Sat, 27 May 2023 11:19:19 +0000 (13:19 +0200)]
Don't add variable
?- Z #= 0, Z #= X mod Y.
Z = 0, clpz:(_A*Y#=X), clpz:(Y in inf.. -1\/1..sup) % Unexpected.
The expected result:
Z = 0, clpz:(X mod Y#=0), clpz:(Y in inf.. -1\/1..sup).
notoria [Sat, 27 May 2023 11:08:25 +0000 (13:08 +0200)]
Remove and move comments
Mark [Fri, 26 May 2023 21:19:07 +0000 (15:19 -0600)]
optionally read from machine stack in stackful pre-order iterator (#1812)
Mark [Wed, 24 May 2023 19:43:52 +0000 (13:43 -0600)]
affirm integers as rational/1 (#1810)
Mark Thom [Thu, 18 May 2023 18:31:44 +0000 (12:31 -0600)]
Merge pull request #1809 from aarroyoc/update-select
Update select crate to 0.6.0 and remove warning
Adrián Arroyo Calle [Wed, 17 May 2023 16:19:19 +0000 (18:19 +0200)]
Update select crate to 0.6.0 and remove warning
Mark Thom [Tue, 16 May 2023 21:55:39 +0000 (15:55 -0600)]
Merge pull request #1808 from triska/gensym
gensym-related improvement and correction
Markus Triska [Tue, 16 May 2023 20:42:10 +0000 (22:42 +0200)]
FIXED: correctly reset counter in reset_gensym/2 (#1807)
Many thanks to @infradig for detecting this issue and suggesting this
correction!
Markus Triska [Tue, 16 May 2023 20:41:20 +0000 (22:41 +0200)]
shorten gensym/2
Mark Thom [Mon, 15 May 2023 05:27:49 +0000 (23:27 -0600)]
Merge pull request #1805 from triska/master
extend logic to all control and whitespace characters
Markus Triska [Sun, 14 May 2023 07:14:10 +0000 (09:14 +0200)]
extend logic to all control and whitespace characters
This addresses #1802.
Mark [Wed, 10 May 2023 06:04:35 +0000 (00:04 -0600)]
use same logic to print Chars and Atoms (#1804)
Mark Thom [Fri, 5 May 2023 03:25:16 +0000 (21:25 -0600)]
Merge pull request #1801 from triska/foldl
rely on first instantiated argument indexing in the definitions of foldl/N
Mark Thom [Fri, 5 May 2023 03:25:03 +0000 (21:25 -0600)]
Merge pull request #1799 from triska/roman_numerals
ENHANCED: allow Roman numerals in strings
Mark Thom [Fri, 5 May 2023 03:24:45 +0000 (21:24 -0600)]
Merge pull request #1800 from triska/nbsp
FIXED: consistent read/write of further control characters, and non-breaking space
Markus Triska [Wed, 3 May 2023 22:50:27 +0000 (00:50 +0200)]
rely on first instantiated argument indexing in the definitions of foldl/N
This allows shorter and more natural definitions.
Markus Triska [Wed, 3 May 2023 21:23:53 +0000 (23:23 +0200)]
FIXED: consistent read/write of further control characters, and non-breaking space
Example:
?- X = '\xa0\'.
X = '\xa0\'.
This addresses #1768.