]>
Repositorios git - scryer-prolog.git/log
Mark Thom [Mon, 4 Dec 2023 06:02:05 +0000 (23:02 -0700)]
Merge pull request #2200 from wkral/percent-graphic-char
Add '%' to the list of graphic_chars (#2119)
William Kral [Mon, 4 Dec 2023 03:38:40 +0000 (19:38 -0800)]
Add '%' to the list of graphic_chars (#2199)
Mark Thom [Sun, 3 Dec 2023 03:16:59 +0000 (20:16 -0700)]
Merge pull request #2194 from triska/clpz_monotonic
support (#=)/3 and (#<)/3 also in the monotonic execution mode
Markus Triska [Sat, 2 Dec 2023 21:33:56 +0000 (22:33 +0100)]
support (#=)/3 and (#<)/3 also in the monotonic execution mode
Mark [Sat, 2 Dec 2023 05:35:36 +0000 (22:35 -0700)]
move propagated_var_nums insertion to proper scope (#2183)
Mark [Thu, 30 Nov 2023 19:25:28 +0000 (12:25 -0700)]
propagate variable hits to parent branches in push_missing_vars (#2183)
Mark Thom [Wed, 29 Nov 2023 20:52:38 +0000 (13:52 -0700)]
Merge pull request #2187 from triska/term_si
ADDED: term_si/1, true for terms
Markus Triska [Wed, 29 Nov 2023 20:24:54 +0000 (21:24 +0100)]
ADDED: term_si/1, true for terms
One use case is to ensure that once/1 is safe to use:
term_si(Goal),
once(Goal)
In such cases, Goal is ground and can yield at most one solution,
therefore once/1 does not remove any solutions.
Mark [Wed, 29 Nov 2023 17:51:55 +0000 (10:51 -0700)]
fix overeager detection of (->)/2 in if position of (;)/2 (#2183)
Mark Thom [Tue, 28 Nov 2023 23:17:44 +0000 (16:17 -0700)]
Merge pull request #2186 from aarroyoc/cpu-now-wasm32
Implement $cpu_now in wasm32
Mark [Tue, 28 Nov 2023 22:31:00 +0000 (15:31 -0700)]
open pl files instead of directories (#2014)
Mark Thom [Tue, 28 Nov 2023 22:31:53 +0000 (15:31 -0700)]
Merge pull request #2184 from mthom/dependabot/cargo/openssl-0.10.60
Bump openssl from 0.10.57 to 0.10.60
Adrián Arroyo Calle [Tue, 28 Nov 2023 22:11:52 +0000 (23:11 +0100)]
Implement $cpu_now in wasm32
dependabot[bot] [Tue, 28 Nov 2023 21:43:23 +0000 (21:43 +0000)]
Bump openssl from 0.10.57 to 0.10.60
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.57 to 0.10.60.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.57...openssl-v0.10.60)
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected]>
Mark [Tue, 28 Nov 2023 21:38:48 +0000 (14:38 -0700)]
allocate cut variables properly (#2183)
Mark [Tue, 28 Nov 2023 19:58:54 +0000 (12:58 -0700)]
allocate cut variables as temporaries when in non-allocating clause (#2183)
Mark [Sun, 26 Nov 2023 03:59:01 +0000 (20:59 -0700)]
bind missing module atom in retract/1 (#2182)
Mark Thom [Fri, 24 Nov 2023 17:57:13 +0000 (18:57 +0100)]
Merge pull request #2169 from infogulch/flame
Benchmark improvements
Mark Thom [Fri, 24 Nov 2023 17:00:55 +0000 (18:00 +0100)]
Merge branch 'master' into flame
Mark [Fri, 24 Nov 2023 05:01:21 +0000 (22:01 -0700)]
remove redundant running count increment in mark_non_callable (#2176)
Mark Thom [Thu, 23 Nov 2023 20:31:12 +0000 (21:31 +0100)]
Merge pull request #2179 from mthom/fix_stress_integration_test
Fix stress integration test
Mark [Thu, 23 Nov 2023 19:55:55 +0000 (12:55 -0700)]
set b0 to b for run_query call
Mark Thom [Wed, 22 Nov 2023 20:52:49 +0000 (21:52 +0100)]
Merge pull request #2173 from aarroyoc/js-eval
Add js_eval/2 for wasm32
Adrián Arroyo Calle [Mon, 20 Nov 2023 16:45:22 +0000 (17:45 +0100)]
Add js_eval/2 for wasm32
Mark Thom [Wed, 22 Nov 2023 16:54:55 +0000 (17:54 +0100)]
Merge pull request #2177 from mthom/remove_assertx
Remove assert(a,z)/2 (#1975)
Mark [Wed, 22 Nov 2023 16:24:07 +0000 (09:24 -0700)]
remove assert(a,z)/2 (#1975)
Mark [Wed, 22 Nov 2023 15:57:23 +0000 (08:57 -0700)]
add CutPoint to select_switch_on_term_index (#2176)
infogulch [Wed, 22 Nov 2023 00:12:26 +0000 (18:12 -0600)]
Expose inference counts on Machine; publish to CI
infogulch [Tue, 21 Nov 2023 19:07:33 +0000 (13:07 -0600)]
Upgrade to latest iai for summary output
Mark Thom [Tue, 21 Nov 2023 22:04:26 +0000 (23:04 +0100)]
Merge pull request #1999 from triska/time_inferences
ENHANCED: time/1 now shows the number of inferences
Mark [Tue, 21 Nov 2023 19:50:10 +0000 (12:50 -0700)]
fix copy_term/2 variable copying bug in lists (#923, #2127)
infogulch [Thu, 16 Nov 2023 05:18:41 +0000 (23:18 -0600)]
Benchmark improvements
* CI: Clean offline; display cleaned bytes; one artifact upload
* Add missing csv bench to iai benchmarks
* Generate flamegraphs for benchmarks
* Validate benchmark results separately
infogulch [Wed, 15 Nov 2023 21:55:20 +0000 (15:55 -0600)]
Remove accidentally committed files
Markus Triska [Tue, 21 Nov 2023 19:31:48 +0000 (20:31 +0100)]
ENHANCED: time/1 now shows the number of inferences
Example:
?- time(member(X, "abc")).
% CPU time: 0.000s, 1 inference
X = a
; % CPU time: 0.000s, 3 inferences
X = b
; % CPU time: 0.000s, 3 inferences
X = c.
This is an initial step towards addressing #1039.
Mark [Tue, 21 Nov 2023 15:28:55 +0000 (08:28 -0700)]
fix error detection in int_pow (#2161)
Mark [Mon, 20 Nov 2023 23:24:31 +0000 (16:24 -0700)]
add global_count inference counter that is always incremented (#2009)
Mark [Mon, 20 Nov 2023 20:40:58 +0000 (13:40 -0700)]
fix dif:vars_remove_goal/2 (#2175), untabify forms.rs to appease format check
Mark [Sun, 19 Nov 2023 15:46:20 +0000 (08:46 -0700)]
remove unnecessary spaces around (|) (#2164)
Mark Thom [Thu, 16 Nov 2023 20:07:25 +0000 (21:07 +0100)]
Merge pull request #2168 from aarroyoc/update-web-2023-11-15
Remove Scryer Prolog meetup banner :(
Mark Thom [Thu, 16 Nov 2023 20:07:03 +0000 (21:07 +0100)]
Merge pull request #2159 from mthom/dependabot/cargo/rustix-0.38.21
Bump rustix from 0.38.14 to 0.38.21
dependabot[bot] [Thu, 16 Nov 2023 19:27:40 +0000 (19:27 +0000)]
Bump rustix from 0.38.14 to 0.38.21
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.14 to 0.38.21.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.14...v0.38.21)
---
updated-dependencies:
- dependency-name: rustix
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected]>
Mark Thom [Thu, 16 Nov 2023 08:30:27 +0000 (09:30 +0100)]
Merge pull request #2167 from infogulch/ci-checks-permission
Add checks permission to ci workflow
Adrián Arroyo Calle [Wed, 15 Nov 2023 21:42:18 +0000 (22:42 +0100)]
Remove Scryer Prolog meetup banner :(
Mark Thom [Wed, 15 Nov 2023 19:38:24 +0000 (20:38 +0100)]
fix sign/1 (#2157)
infogulch [Wed, 15 Nov 2023 19:07:45 +0000 (13:07 -0600)]
Add checks permission to ci workflow
This should allow dependabot builds to complete
Mark Thom [Tue, 14 Nov 2023 07:10:12 +0000 (08:10 +0100)]
fix shr crash (#2158)
Mark Thom [Tue, 14 Nov 2023 06:32:07 +0000 (07:32 +0100)]
Merge pull request #2165 from infogulch/bench-csv
Bench csv
Mark Thom [Tue, 14 Nov 2023 06:31:52 +0000 (07:31 +0100)]
Merge pull request #2166 from triska/more_tests
mention more passing tests
Markus Triska [Tue, 14 Nov 2023 03:06:33 +0000 (04:06 +0100)]
mention more passing tests
infogulch [Mon, 13 Nov 2023 21:41:15 +0000 (15:41 -0600)]
Fix lint
infogulch [Mon, 13 Nov 2023 21:41:06 +0000 (15:41 -0600)]
Add csv parsing benchmark #1403
infogulch [Mon, 13 Nov 2023 20:58:18 +0000 (14:58 -0600)]
Simplify benchmark setup; support mutating machine
Mark Thom [Sun, 12 Nov 2023 06:21:25 +0000 (07:21 +0100)]
Merge pull request #2153 from infogulch/benchmark
Add benchmarks
Joe Taber [Sat, 11 Nov 2023 19:33:19 +0000 (13:33 -0600)]
Fix formatting issues
infogulch [Sat, 11 Nov 2023 17:22:02 +0000 (11:22 -0600)]
Add benchmarks using library interface
infogulch [Tue, 7 Nov 2023 17:56:28 +0000 (11:56 -0600)]
CI: Setup rust in new action; split style & report actions
Mark Thom [Sat, 11 Nov 2023 17:41:46 +0000 (18:41 +0100)]
correct style failures
Mark Thom [Sat, 11 Nov 2023 16:20:22 +0000 (17:20 +0100)]
fix permanent variable handling over branches and cells (#2154)
Mark [Sun, 5 Nov 2023 01:32:23 +0000 (19:32 -0600)]
fix compare_pstr_to_string (#2148)
Mark Thom [Sat, 4 Nov 2023 17:34:11 +0000 (11:34 -0600)]
Merge pull request #2147 from infogulch/lint-format
Resolve all lints and formating; split style checks into separate job
infogulch [Sat, 4 Nov 2023 07:22:24 +0000 (02:22 -0500)]
Split style checks, test reports into separate job
infogulch [Sat, 4 Nov 2023 07:20:55 +0000 (02:20 -0500)]
Bump Cargo.lock to reflect new scryer version
infogulch [Sat, 4 Nov 2023 07:20:37 +0000 (02:20 -0500)]
Add previous commit to .git-blame-ignore-revs
infogulch [Sat, 4 Nov 2023 07:16:54 +0000 (02:16 -0500)]
Resolve lints and format
Mark [Thu, 2 Nov 2023 23:34:49 +0000 (17:34 -0600)]
update release version linked on website
Mark [Thu, 2 Nov 2023 23:32:33 +0000 (17:32 -0600)]
update release link
Mark [Thu, 2 Nov 2023 23:01:50 +0000 (17:01 -0600)]
bump version number to v0.9.3
Mark Thom [Thu, 2 Nov 2023 22:50:01 +0000 (16:50 -0600)]
Merge pull request #1880 from coasys/library-use-case
Programatic use of Machine / Scryer as library
Nicolas Luck [Thu, 2 Nov 2023 18:07:55 +0000 (19:07 +0100)]
Check for target_arch = “wasm32”
instead of target_os = “wasi”
Nicolas Luck [Thu, 2 Nov 2023 10:12:54 +0000 (11:12 +0100)]
Merge branch 'master' into library-use-case
Mark [Wed, 1 Nov 2023 05:58:59 +0000 (23:58 -0600)]
correct (\+)/1 (#2141)
Mark [Sun, 29 Oct 2023 00:17:43 +0000 (18:17 -0600)]
remove non-conforming hyperbolic and log10 evaluable functors
Mark [Sun, 29 Oct 2023 00:13:42 +0000 (18:13 -0600)]
fix signed modulus bug (#2134)
Mark Thom [Sat, 28 Oct 2023 20:48:10 +0000 (14:48 -0600)]
Merge pull request #2140 from aarroyoc/rename-to-upper
Rename `to_upper` to `upper` and `to_lower` to `lower`
Adrián Arroyo Calle [Sat, 28 Oct 2023 17:16:07 +0000 (19:16 +0200)]
Rename `to_upper` to `upper` and `to_lower` to `lower`
Mark Thom [Thu, 26 Oct 2023 20:07:18 +0000 (14:07 -0600)]
Merge pull request #2137 from infogulch/master
CI: compile wasm separately; default 22.04; matrix
infogulch [Thu, 26 Oct 2023 04:29:07 +0000 (23:29 -0500)]
CI: compile wasm separately; default 22.04; matrix
Mark [Wed, 25 Oct 2023 18:26:01 +0000 (12:26 -0600)]
qualify dif/2 call in reinforce_goal (#2135)
Mark [Tue, 24 Oct 2023 21:35:37 +0000 (15:35 -0600)]
correct char_type/2 (#2132)
Mark [Tue, 24 Oct 2023 21:15:29 +0000 (15:15 -0600)]
remove unnecessary macros inclusion in mock_wam.rs
Mark [Tue, 24 Oct 2023 20:20:26 +0000 (14:20 -0600)]
correct modulus bug (#2118, #2119)
Mark [Tue, 24 Oct 2023 20:10:11 +0000 (14:10 -0600)]
remove list remnants from stack iteration in printer when cyclic (#2131)
Mark [Tue, 24 Oct 2023 18:23:05 +0000 (12:23 -0600)]
fix cycle detection in lists by looking backward analogously to the same process for structures (#2130)
Mark [Mon, 23 Oct 2023 19:28:44 +0000 (13:28 -0600)]
correct LIS backward bug in cycle_detection.rs
Mark [Mon, 23 Oct 2023 18:03:25 +0000 (12:03 -0600)]
add STOP_AT_CYCLES const parameter for CycleDetectingIter
Mark [Sun, 22 Oct 2023 03:37:27 +0000 (21:37 -0600)]
use Deutsch-Schorr-Waite to implement acyclic_term/1 (#2128)
Mark [Wed, 18 Oct 2023 17:58:04 +0000 (11:58 -0600)]
use topo_sort to correct acyclic_term (#2124, #2125)
Nicolas Luck [Tue, 17 Oct 2023 20:09:34 +0000 (22:09 +0200)]
Cleanup Cargo.toml
Nicolas Luck [Tue, 17 Oct 2023 20:07:38 +0000 (22:07 +0200)]
Fix wasm warnings
Mark [Mon, 16 Oct 2023 20:20:40 +0000 (14:20 -0600)]
fix cyclicity detection through variables (#2122, #2123)
Nicolas Luck [Mon, 16 Oct 2023 12:59:06 +0000 (14:59 +0200)]
Use std::sync::RwLock instead of tokio::sync::RwLock (by @aarroyoc)
Nicolas Luck [Mon, 16 Oct 2023 12:56:17 +0000 (14:56 +0200)]
Fix signalling of success/failure (by @mthom)
Nicolas Luck [Mon, 16 Oct 2023 12:55:38 +0000 (14:55 +0200)]
Revert "Remove unuse import"
This reverts commit
bfa7d3cf415bdf454d2c8d0a59d8e0c462171081.
Nicolas Luck [Mon, 16 Oct 2023 11:44:51 +0000 (13:44 +0200)]
Remove unuse import
Nicolas Luck [Mon, 16 Oct 2023 11:43:26 +0000 (13:43 +0200)]
Merge branch 'master' into library-use-case
Mark [Sun, 15 Oct 2023 21:14:38 +0000 (15:14 -0600)]
more eagerly check for cyclicity of variables in cycle detecting stackless iterator (#2121)
Mark [Sun, 15 Oct 2023 19:07:41 +0000 (13:07 -0600)]
add backward looking cyclicity check for variables in cycle detecting stackless iterator (#2111, #2117)
Mark [Sun, 15 Oct 2023 07:28:42 +0000 (01:28 -0600)]
correct is_cyclic again for non-variable ref cells (#2116)
Mark [Sun, 15 Oct 2023 06:58:15 +0000 (00:58 -0600)]
improve cycle detection in detect_list_cycles (#2111)
Mark [Sun, 15 Oct 2023 05:56:46 +0000 (23:56 -0600)]
simplify stackless iterator is_cyclic (#2111)