Markus Triska
8cb4dfef62
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.
2023-11-29 21:25:09 +01:00
Mark
de452bb2c2
fix overeager detection of (->)/2 in if position of (;)/2 ( #2183 )
2023-11-29 11:05:04 -07:00
Mark Thom
e8d8b09e52
Merge pull request #2186 from aarroyoc/cpu-now-wasm32
...
Implement $cpu_now in wasm32
2023-11-28 16:17:44 -07:00
Mark
631674db29
open pl files instead of directories ( #2014 )
2023-11-28 15:32:06 -07:00
Mark Thom
bc3ae52c7a
Merge pull request #2184 from mthom/dependabot/cargo/openssl-0.10.60
...
Bump openssl from 0.10.57 to 0.10.60
2023-11-28 15:31:53 -07:00
Adrián Arroyo Calle
4c795018b4
Implement $cpu_now in wasm32
2023-11-28 23:30:02 +01:00
dependabot[bot]
651b7b2f59
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] <support@github.com >
2023-11-28 21:43:23 +00:00
Mark
5cb207d8b3
allocate cut variables properly ( #2183 )
2023-11-28 14:38:48 -07:00
Mark
de5de0cfaf
allocate cut variables as temporaries when in non-allocating clause ( #2183 )
2023-11-28 12:58:54 -07:00
Mark
b8ef367824
bind missing module atom in retract/1 ( #2182 )
2023-11-25 20:59:04 -07:00
Mark Thom
f1458b772e
Merge pull request #2169 from infogulch/flame
...
Benchmark improvements
2023-11-24 18:57:13 +01:00
Mark Thom
4181c9fab2
Merge branch 'master' into flame
2023-11-24 18:00:55 +01:00
Mark
1fbc7f9842
remove redundant running count increment in mark_non_callable ( #2176 )
2023-11-23 22:05:31 -07:00
Mark Thom
73ed08a412
Merge pull request #2179 from mthom/fix_stress_integration_test
...
Fix stress integration test
2023-11-23 21:31:12 +01:00
Mark
7cac13aefa
set b0 to b for run_query call
2023-11-23 12:55:55 -07:00
Mark Thom
2e114df4c7
Merge pull request #2173 from aarroyoc/js-eval
...
Add js_eval/2 for wasm32
2023-11-22 21:52:49 +01:00
Adrián Arroyo Calle
36ab590c4e
Add js_eval/2 for wasm32
2023-11-22 21:21:19 +01:00
Mark Thom
20da3427c1
Merge pull request #2177 from mthom/remove_assertx
...
Remove assert(a,z)/2 (#1975 )
2023-11-22 17:54:55 +01:00
Mark
2811660fa7
remove assert(a,z)/2 ( #1975 )
2023-11-22 09:24:07 -07:00
Mark
ef8eb935d4
add CutPoint to select_switch_on_term_index ( #2176 )
2023-11-22 08:57:23 -07:00
infogulch
11832b524b
Expose inference counts on Machine; publish to CI
2023-11-21 21:53:29 -06:00
infogulch
503e45eae1
Upgrade to latest iai for summary output
2023-11-21 21:53:19 -06:00
Mark Thom
041ec06dbc
Merge pull request #1999 from triska/time_inferences
...
ENHANCED: time/1 now shows the number of inferences
2023-11-21 23:04:26 +01:00
Mark
3841b29db8
fix copy_term/2 variable copying bug in lists ( #923 , #2127 )
2023-11-21 14:52:35 -07:00
infogulch
1c94624958
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
2023-11-21 13:54:16 -06:00
infogulch
c6f3700de1
Remove accidentally committed files
2023-11-21 13:54:16 -06:00
Markus Triska
186bba9d75
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 .
2023-11-21 20:36:44 +01:00
Mark
a3e83d59be
fix error detection in int_pow ( #2161 )
2023-11-21 08:32:26 -07:00
Mark
54166b91eb
add global_count inference counter that is always incremented ( #2009 )
2023-11-20 16:24:31 -07:00
Mark
1e5bb2d3da
fix dif:vars_remove_goal/2 ( #2175 ), untabify forms.rs to appease format check
2023-11-20 14:21:18 -07:00
Mark
8d9a759a7d
remove unnecessary spaces around (|) ( #2164 )
2023-11-19 08:46:20 -07:00
Mark Thom
f32b035287
Merge pull request #2168 from aarroyoc/update-web-2023-11-15
...
Remove Scryer Prolog meetup banner :(
2023-11-16 21:07:25 +01:00
Mark Thom
a8e6930d19
Merge pull request #2159 from mthom/dependabot/cargo/rustix-0.38.21
...
Bump rustix from 0.38.14 to 0.38.21
2023-11-16 21:07:03 +01:00
dependabot[bot]
7fa4cb7ee8
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] <support@github.com >
2023-11-16 19:27:40 +00:00
Mark Thom
df5855dbda
Merge pull request #2167 from infogulch/ci-checks-permission
...
Add checks permission to ci workflow
2023-11-16 09:30:27 +01:00
Adrián Arroyo Calle
e7f5ba6ca1
Remove Scryer Prolog meetup banner :(
2023-11-15 22:42:18 +01:00
Mark Thom
bcb68fcc3d
fix sign/1 ( #2157 )
2023-11-15 20:38:24 +01:00
infogulch
e5ee918063
Add checks permission to ci workflow
...
This should allow dependabot builds to complete
2023-11-15 13:07:45 -06:00
Mark Thom
4be320abc8
fix shr crash ( #2158 )
2023-11-14 08:15:19 +01:00
Mark Thom
300f5f817f
Merge pull request #2165 from infogulch/bench-csv
...
Bench csv
2023-11-14 07:32:07 +01:00
Mark Thom
574a4d0758
Merge pull request #2166 from triska/more_tests
...
mention more passing tests
2023-11-14 07:31:52 +01:00
Markus Triska
a02bd46094
mention more passing tests
2023-11-14 04:09:03 +01:00
infogulch
cab80d3fa2
Fix lint
2023-11-13 15:41:15 -06:00
infogulch
98d8b00d7a
Add csv parsing benchmark #1403
2023-11-13 15:41:06 -06:00
infogulch
40608dc8d4
Simplify benchmark setup; support mutating machine
2023-11-13 15:40:27 -06:00
Mark Thom
3b7d4a7b36
Merge pull request #2153 from infogulch/benchmark
...
Add benchmarks
2023-11-12 07:21:25 +01:00
Joe Taber
f704fcb41d
Fix formatting issues
2023-11-11 13:33:19 -06:00
infogulch
8570f119c0
Add benchmarks using library interface
2023-11-11 13:32:34 -06:00
infogulch
1656d9d7ad
CI: Setup rust in new action; split style & report actions
2023-11-11 13:32:34 -06:00
Mark Thom
50c64b8512
correct style failures
2023-11-11 18:57:47 +01:00