]>
Repositorios git - scryer-prolog.git/log
Mark Thom [Sun, 8 Oct 2023 18:01:26 +0000 (12:01 -0600)]
Merge pull request #2085 from triska/reification_same_queue
Use the same queue for variables in reified constraints
Markus Triska [Sun, 8 Oct 2023 10:07:17 +0000 (12:07 +0200)]
remove no longer needed goal projection for pdiv
Markus Triska [Sun, 8 Oct 2023 09:53:06 +0000 (11:53 +0200)]
ENHANCED: avoid pending residual constraints in disentailed reified (div)/2
This addresses #2083:
?- #\0#=0//0 div 2.
true.
Markus Triska [Sun, 8 Oct 2023 09:28:52 +0000 (11:28 +0200)]
replace list//1 by seq//1 from library(dcgs)
Markus Triska [Sun, 8 Oct 2023 07:43:59 +0000 (09:43 +0200)]
instead of prdiv, use ptimes directly
Markus Triska [Sun, 8 Oct 2023 07:43:10 +0000 (09:43 +0200)]
FIXED: variables in reified propagators must share the same queue
Otherwise, propagation steps may be inadvertently omitted, if
propagators are scheduled in a different queue.
This addresses #2084.
Markus Triska [Sun, 8 Oct 2023 07:26:22 +0000 (09:26 +0200)]
adapt query to Scryer Prolog
Mark [Sun, 8 Oct 2023 00:48:49 +0000 (18:48 -0600)]
mark both components of a PStrLoc (#2082)
Mark Thom [Fri, 6 Oct 2023 21:31:13 +0000 (15:31 -0600)]
Merge pull request #2080 from triska/reified_slash
Corrections to reified (/)/2
Markus Triska [Fri, 6 Oct 2023 20:58:56 +0000 (22:58 +0200)]
reorder and realign entries to form a contiguous group starting with d(D)
Markus Triska [Fri, 6 Oct 2023 20:55:46 +0000 (22:55 +0200)]
FIXED: reification of (/)/2 for undefined subexpressions
This addresses #2078 and #2079.
Mark [Fri, 6 Oct 2023 02:21:28 +0000 (20:21 -0600)]
replace eager_stackful_iter's mark stack with a second unmark phase
Mark [Wed, 4 Oct 2023 21:12:25 +0000 (15:12 -0600)]
use eager_stackful_preorder_iter in variable_set, add term_variables/1 tests
Mark [Wed, 4 Oct 2023 19:22:21 +0000 (13:22 -0600)]
rewrite ground_test, add tests for ground/1 (#2075)
Mark [Wed, 4 Oct 2023 17:57:09 +0000 (11:57 -0600)]
Revert "consider Str, PStrLoc in ElideLists of StackfulHeapIterator (#2075)"
This reverts commit
1e60eeef3450cdb6817f8f626fb32be6018d83c2 .
Mark [Wed, 4 Oct 2023 06:26:44 +0000 (00:26 -0600)]
consider Str, PStrLoc in ElideLists of StackfulHeapIterator (#2075)
Mark Thom [Wed, 4 Oct 2023 03:24:19 +0000 (21:24 -0600)]
Merge pull request #2076 from infogulch/master
Pin logtalk to version before scryer support was removed
infogulch [Wed, 4 Oct 2023 01:51:50 +0000 (20:51 -0500)]
Pin logtalk to version before scryer support was removed
Mark [Tue, 3 Oct 2023 21:31:01 +0000 (15:31 -0600)]
check for free variables in locations removed from iterator stack in ground_test (#2075)
Mark [Tue, 3 Oct 2023 18:04:10 +0000 (12:04 -0600)]
correct cycle detection in ground/1 (#2073)
Mark Thom [Tue, 3 Oct 2023 17:54:04 +0000 (11:54 -0600)]
Merge pull request #2074 from triska/expansion_simpler
Revert "FIXED: corrections to expansion_simpler/2"
Markus Triska [Tue, 3 Oct 2023 17:15:17 +0000 (19:15 +0200)]
Revert "FIXED: corrections to expansion_simpler/2"
This reverts commit
f3b848537aef601b13bd525df09ee74f5bbeeae9 .
The root cause of this problem is a mistake in ground/1. See #2073.
Mark Thom [Mon, 2 Oct 2023 22:06:35 +0000 (16:06 -0600)]
Merge pull request #2072 from aarroyoc/fix-urldecode
Improved version of url_decode
Mark Thom [Mon, 2 Oct 2023 22:06:10 +0000 (16:06 -0600)]
Merge pull request #2070 from triska/expansion_simpler
FIXED: corrections to expansion_simpler/2
Adrián Arroyo Calle [Mon, 2 Oct 2023 21:49:09 +0000 (23:49 +0200)]
Improved version of url_decode
Markus Triska [Mon, 2 Oct 2023 21:17:06 +0000 (23:17 +0200)]
FIXED: corrections to expansion_simpler/2
Example:
?- X = 0, Y = 0, Z #= X-1 + Y-1.
X = 0, Y = 0, Z = -2.
This addresses #2064.
See
ca5a5b4392bfbed8cfdbb3b2e7dbaa42ea193007 for a previous issue in
this logic.
Mark [Mon, 2 Oct 2023 00:55:31 +0000 (18:55 -0600)]
add registers to inlined instruction functors
Mark [Sun, 1 Oct 2023 23:11:26 +0000 (17:11 -0600)]
consider an '$aux' a relation of the unexpanded goal's variables in compile_inline_or_expanded_goal (#2062)
Mark [Sun, 1 Oct 2023 04:22:01 +0000 (22:22 -0600)]
throw instantiation_error from error/2 if Error_term uninstantiated (#2060)
Mark [Sun, 1 Oct 2023 04:20:50 +0000 (22:20 -0600)]
get rid of inference_limit_exceeded(B) as an error term (#2023)
Mark Thom [Sun, 1 Oct 2023 00:41:50 +0000 (18:41 -0600)]
Merge pull request #2066 from bakaq/dif_tests
Add tests for #2056
bakaq [Sun, 1 Oct 2023 00:33:42 +0000 (21:33 -0300)]
Add tests for #2056
Mark [Sat, 30 Sep 2023 23:15:20 +0000 (17:15 -0600)]
correct depth calculation for lists that are their own car (#1876)
Mark [Sat, 30 Sep 2023 22:47:13 +0000 (16:47 -0600)]
substitute names for cyclic variables permitted by max_depth > 0 in check_for_seen using a loop (#2057)
Mark [Sat, 30 Sep 2023 22:00:15 +0000 (16:00 -0600)]
implement ListElisionPolicy to restore previous printer behavior
Mark [Sat, 30 Sep 2023 21:24:30 +0000 (15:24 -0600)]
correct skipping of not fully visited lists in stackful heap iterator (#2056, #2063, #2065)
Mark [Sat, 30 Sep 2023 17:44:20 +0000 (11:44 -0600)]
correct max_depth marking for lists
Mark [Fri, 29 Sep 2023 17:48:05 +0000 (11:48 -0600)]
further max_depth improvements
Mark [Fri, 29 Sep 2023 07:00:14 +0000 (01:00 -0600)]
improve max_depth write option (#1876, #2053)
Mark [Thu, 28 Sep 2023 21:25:57 +0000 (15:25 -0600)]
do not deref AttrVar binding in redo_attr_var_binding (#2059)
Mark [Thu, 28 Sep 2023 00:58:45 +0000 (18:58 -0600)]
revert throwing domain errors for unexpected forms of read-options (#2015)
Mark [Thu, 28 Sep 2023 00:16:23 +0000 (18:16 -0600)]
check for ChildCloseList in print_struct on [] (#2039)
Mark [Wed, 27 Sep 2023 23:55:15 +0000 (17:55 -0600)]
fix add_predicate_declaration bug not correctly identifying lists of predicate indicators (#2049, #2050, #2051, #2052)
Mark [Wed, 27 Sep 2023 19:53:33 +0000 (13:53 -0600)]
remove debug symbols from release builds (#2054)
Mark Thom [Wed, 27 Sep 2023 19:35:46 +0000 (13:35 -0600)]
Merge pull request #1998 from aarroyoc/warp-http-server
Replace Hyper with Warp for HTTP server
Mark [Wed, 27 Sep 2023 19:34:11 +0000 (13:34 -0600)]
fix max_depth settings for partial strings on lists (#1876)
Adrián Arroyo Calle [Tue, 5 Sep 2023 18:40:58 +0000 (20:40 +0200)]
Replace Hyper with Warp for HTTP server
- Use Warp
- Optimize clones
- HTTPS server
- Content-Length limit
- HTTP Basic Auth
- Stop server with Ctrl-C
Mark Thom [Wed, 27 Sep 2023 16:43:54 +0000 (10:43 -0600)]
Merge pull request #2048 from infogulch/master
Build windows with msvc #1998; add ubuntu 22.04 target #2047
infogulch [Wed, 27 Sep 2023 07:58:48 +0000 (02:58 -0500)]
Tidy ci.yaml
infogulch [Wed, 27 Sep 2023 07:57:02 +0000 (02:57 -0500)]
Build windows with msvc
infogulch [Wed, 27 Sep 2023 05:31:08 +0000 (00:31 -0500)]
Add ubuntu 22.04
Mark [Tue, 26 Sep 2023 20:06:21 +0000 (14:06 -0600)]
remove module_resolution_error (#2035)
Mark [Tue, 26 Sep 2023 19:46:21 +0000 (13:46 -0600)]
filter our builtins from current_predicate/1 (#153)
Mark [Tue, 26 Sep 2023 18:54:16 +0000 (12:54 -0600)]
check for predicate_indicator list and sequence types in add_predicate_declaration (#1586)
Mark [Tue, 26 Sep 2023 18:08:51 +0000 (12:08 -0600)]
throw instantiation_error when appropriate from parse_write_options_ (5.5.12 of the standard, #1965)
Mark [Tue, 26 Sep 2023 17:22:56 +0000 (11:22 -0600)]
correct OutOfFiles resource error (#1375)
Mark [Tue, 26 Sep 2023 17:21:47 +0000 (11:21 -0600)]
add predicate indicator sequences to loader:add_predicate_declaration (#1586)
Mark [Tue, 26 Sep 2023 01:20:11 +0000 (19:20 -0600)]
throw an error instead of allowing builtin modules to be overwritten (#2042)
Mark [Mon, 25 Sep 2023 22:09:20 +0000 (16:09 -0600)]
Merge branch 'master' of ssh://github.com/mthom/scryer-prolog
Mark [Sun, 24 Sep 2023 00:32:32 +0000 (18:32 -0600)]
fix off-by-1 bug in '$skip_max_list'/4 (#2037)
Mark Thom [Mon, 25 Sep 2023 18:04:33 +0000 (12:04 -0600)]
Merge pull request #2032 from bakaq/phrase_from_stream
Add phrase_from_stream/2 to library(pio)
bakaq [Mon, 25 Sep 2023 05:18:05 +0000 (02:18 -0300)]
Remove reposition option from phrase_from_file/2
bakaq [Sun, 24 Sep 2023 22:29:51 +0000 (19:29 -0300)]
Inline string_get_n_chars_/3
bakaq [Sun, 24 Sep 2023 22:21:03 +0000 (19:21 -0300)]
Better string_get_n_chars_/3
bakaq [Sun, 24 Sep 2023 18:07:39 +0000 (15:07 -0300)]
Fixed bug with '$skip_max_list'/4
bakaq [Sat, 23 Sep 2023 04:43:45 +0000 (01:43 -0300)]
Use '$skip_max_list'/4 in string_get_n_chars/4
bakaq [Fri, 22 Sep 2023 00:06:02 +0000 (21:06 -0300)]
Add phrase_from_stream/2 to library(pio)
Mark Thom [Sun, 24 Sep 2023 17:11:15 +0000 (11:11 -0600)]
Merge pull request #2040 from rujialiu/allow-cr
Solves CRLF/CR issue by considering'\r' a `layout_char` #553 #2028
Rujia Liu [Sun, 24 Sep 2023 11:10:40 +0000 (19:10 +0800)]
Solves CRLF/CR issue by considering'\r' a `layout_char` #553 #2028
Mark Thom [Sun, 24 Sep 2023 06:44:33 +0000 (00:44 -0600)]
Merge pull request #2038 from infogulch/patch-1
Allow all matrix ci jobs to run to completion even if one fails
Joe Taber [Sun, 24 Sep 2023 02:43:51 +0000 (21:43 -0500)]
Allow all jobs to run to completion even if one fails
See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast
Mark [Sun, 24 Sep 2023 00:32:32 +0000 (18:32 -0600)]
fix off-by-1 bug in ''/4 (#2037)
Mark [Sat, 23 Sep 2023 20:26:28 +0000 (14:26 -0600)]
don't parse bracketed non-operators as functor terms (#2033)
Mark [Sat, 23 Sep 2023 06:19:54 +0000 (00:19 -0600)]
record compaction depth after reduce_op if '|' an operator (#1905)
Mark [Thu, 21 Sep 2023 22:49:45 +0000 (16:49 -0600)]
add (now failing) test 317 to iso_conformity_tests.pl
Mark [Thu, 21 Sep 2023 22:22:41 +0000 (16:22 -0600)]
generalize multifile/dynamic/discontiguous declarations over lists of predicate indicators (#1586)
Mark [Thu, 21 Sep 2023 20:36:53 +0000 (14:36 -0600)]
throw resource error if OpenOptions raises an error of uncategorized kind (#1375)
Mark Thom [Thu, 21 Sep 2023 17:32:38 +0000 (11:32 -0600)]
Merge pull request #2027 from bakaq/dif
Improvements to dif/2
Mark Thom [Thu, 21 Sep 2023 17:31:35 +0000 (11:31 -0600)]
Merge pull request #2026 from infogulch/master
Simplify fn maybe
bakaq [Thu, 21 Sep 2023 17:00:37 +0000 (14:00 -0300)]
Avoid dif/1 attribute with empty list
Closes #1956
bakaq [Thu, 21 Sep 2023 15:14:27 +0000 (12:14 -0300)]
Run dif tests on cargo test
bakaq [Wed, 20 Sep 2023 23:56:25 +0000 (20:56 -0300)]
Tests for dif/2
bakaq [Wed, 20 Sep 2023 23:56:04 +0000 (20:56 -0300)]
Improved dif/2
infogulch [Wed, 20 Sep 2023 21:38:58 +0000 (16:38 -0500)]
Simplify maybe
Fix whitespace
Mark Thom [Wed, 20 Sep 2023 21:03:21 +0000 (15:03 -0600)]
Merge pull request #2025 from aarroyoc/random-seed
Use a SeedableRng to generate random numbers
Adrián Arroyo Calle [Wed, 20 Sep 2023 19:54:14 +0000 (21:54 +0200)]
Use a SeedableRng to generate random numbers
Mark [Fri, 15 Sep 2023 20:10:42 +0000 (14:10 -0600)]
remove unnecessary Result return type from read_term_from_heap
Mark Thom [Wed, 13 Sep 2023 21:05:31 +0000 (15:05 -0600)]
Merge pull request #2018 from triska/libffi
use version from crates.io
Markus Triska [Wed, 13 Sep 2023 18:45:38 +0000 (20:45 +0200)]
use version from crates.io
Mark Thom [Wed, 13 Sep 2023 16:41:34 +0000 (10:41 -0600)]
Merge pull request #2017 from cmpute/master
Upgrade dashu and make the related code more idomatic.
Jacob [Wed, 13 Sep 2023 16:29:12 +0000 (12:29 -0400)]
Upgrade dashu and some changes
Mark [Tue, 12 Sep 2023 20:52:42 +0000 (14:52 -0600)]
update syn crates
Mark [Mon, 11 Sep 2023 21:36:15 +0000 (15:36 -0600)]
get rid of OssifiedOpDir, DBRef, simplify current_op/3
Mark Thom [Mon, 11 Sep 2023 17:33:16 +0000 (11:33 -0600)]
Merge pull request #1993 from coasys/dashu-fixes
Dashu fixes
Mark Thom [Mon, 11 Sep 2023 17:23:10 +0000 (11:23 -0600)]
Merge pull request #2013 from gruhn/fix-docker-debian-bullseye
fix Docker image
Niklas Gruhn [Sun, 10 Sep 2023 23:40:05 +0000 (01:40 +0200)]
fix Docker image
The Docker image is broken with the error message:
scryer-prolog: error while loading shared libraries:
libssl.so.1.1: cannot open shared object file: No such
file or directory
We use the base base image `debian:stable-slim` and in the
background a new Debian version was marked stable (bookworm),
which has libssl3 instead of libssl1.1 installed.
I downgraded the base image to the previous stable version
(bullseye), which seems to fix the issue.
Mark Thom [Sun, 10 Sep 2023 23:45:45 +0000 (17:45 -0600)]
Merge pull request #2010 from aarroyoc/update-website-0.9.2
Update INDEX.dj
Adrián Arroyo Calle [Sun, 10 Sep 2023 21:12:10 +0000 (23:12 +0200)]
Update website to mention 0.9.2 and playground
Fayeed Pawaskar [Sun, 10 Sep 2023 16:21:02 +0000 (21:51 +0530)]
Merge branch 'master' into dashu-fixes
Fayeed Pawaskar [Sun, 10 Sep 2023 16:10:22 +0000 (21:40 +0530)]
Removed value method and use deref to get type