Mark
b943afb7c7
fix '$get_clause_p' whose old implementation was broken by the introduction
...
of lookahead indexing
2023-12-18 13:28:45 -07:00
Mark
30f3818c66
improve performance of lower_bound_of_target_clause ( #1598 )
2023-12-18 13:28:45 -07:00
Mark Thom
13624568b5
Merge pull request #2233 from aarroyoc/fix-functor-2214
...
Throw ValidType::Atom error in functor
2023-12-17 20:20:50 -07:00
Mark Thom
e4f64581ec
Merge pull request #2229 from aarroyoc/fix-backslash-docs
...
Fix backslash docs
2023-12-17 20:20:41 -07:00
Adrián Arroyo Calle
d132227860
Throw ValidType::Atom error in functor
2023-12-17 12:38:46 +01:00
Adrián Arroyo Calle
45abb4703d
Fix backslash docs
2023-12-16 19:01:39 +01:00
Mark Thom
a66b93c96f
Merge pull request #2226 from mthom/dependabot/cargo/zerocopy-0.7.31
...
Bump zerocopy from 0.7.25 to 0.7.31
2023-12-15 11:33:03 -07:00
Mark
e5ea95db8d
Revert "improve performance of lower_bound_of_target_clause ( #1598 )"
...
This reverts commit 8938331915 .
2023-12-15 00:42:58 -07:00
Mark
8938331915
improve performance of lower_bound_of_target_clause ( #1598 )
2023-12-15 00:39:36 -07:00
dependabot[bot]
749767539a
Bump zerocopy from 0.7.25 to 0.7.31
...
Bumps [zerocopy](https://github.com/google/zerocopy ) from 0.7.25 to 0.7.31.
- [Release notes](https://github.com/google/zerocopy/releases )
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/zerocopy/compare/v0.7.25...v0.7.31 )
---
updated-dependencies:
- dependency-name: zerocopy
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-15 03:52:00 +00:00
Mark
399b50b4d7
fix use of copy_term/3 for attribute goals in toplevel ( #888 , #2057 , #2217 )
2023-12-13 12:27:59 -07:00
Mark
82f3731c97
fix cargo style failure
2023-12-11 15:17:02 -07:00
Mark
658258c8c3
dereference port address in socket_server_open ( #2222 )
2023-12-11 14:38:20 -07:00
Mark
d14cce2374
restore print_tcp_listener in printer ( #2221 )
2023-12-11 13:29:27 -07:00
bakaq
f411fb1eb3
Tests for when/2 and solved bug
2023-12-11 12:28:59 -03:00
bakaq
6a30ccc907
Add when/2 and when_si/2
2023-12-10 20:55:50 -03:00
Mark Thom
1e1426cab0
Merge pull request #2207 from infogulch/ci-build-before-test
...
CI: Make test step output easier to read
2023-12-06 13:45:46 -07:00
Mark Thom
2e750671ca
Merge pull request #2211 from Skgland/file-based-cli-tests
...
fix missing .pl file for singleton test case and move .pl files under `<testcase>.in/`
2023-12-06 13:27:14 -07:00
Skgland
147e47c8eb
fix missing .pl file for singleton test case and move .pl files under <testcase>.in/
...
follow up to #2205
2023-12-06 21:21:28 +01:00
infogulch
7208916230
Clean up test step by compiling in build step
2023-12-05 20:51:04 -06:00
Mark Thom
43556f6df0
Merge pull request #2205 from Skgland/file-based-cli-tests
...
File based cli tests using trycmd
2023-12-05 14:45:00 -07:00
Mark Thom
c0c33392f1
Merge pull request #2203 from coasys/library-use-case
...
Don’t include unbound variables in results returned from run_query()
2023-12-05 13:14:30 -07:00
Nicolas Luck
77ce5a9586
Result with one empty match should be false
2023-12-05 15:00:07 +01:00
Mark Thom
8665722367
Merge pull request #2204 from mthom/remove_not_as_non_terminal
...
remove (\+)//1 (#1511 )
2023-12-04 15:49:26 -07:00
Skgland
57b52fbe90
fix windows test by not disabling normalization
...
- this re-enables line ending and file path normalization
- the latter might be unwanted, but there is only a shared flag
- this might result in too loose matching of / and \ in stdout and stderr as prolog syntax may be mistaken for a path
2023-12-04 22:59:52 +01:00
Skgland
b052b62b16
fix formatting
2023-12-04 22:41:25 +01:00
Skgland
4df7e94d56
rename to match toml file
...
- goals.pl is used by both compound_goal.toml and multiple_goals.toml therefor renamed the later to share a common prefix with goals.pl, to keep them together
2023-12-04 22:23:04 +01:00
Skgland
fcf2e2db05
move .pl files from tests-pl next to the .toml of the test that uses them
2023-12-04 22:16:04 +01:00
Skgland
1c52de9ab1
File-oriented testing
...
inspired by #2191 but for the `run_top_level_test_with_args`s and `run_top_level_test_no_args instead of the `load_module_test`s
2023-12-04 22:02:46 +01:00
Mark
9cd762d88a
remove (\+)//1 ( #1511 )
2023-12-04 13:51:44 -07:00
Mark
eddcdaabef
correct cargo fmt errors
2023-12-04 12:20:54 -07:00
Mark
2c76943d35
emit callable type errors from call/1 and phrase/3 when appropriate ( #2202 )
2023-12-04 12:20:14 -07:00
Nicolas Luck
24e3e1794e
cargo fmt
2023-12-04 20:18:41 +01:00
Nicolas Luck
99055b553a
Don’t include unbound variables in results returned from run_query
2023-12-04 20:10:06 +01:00
Nicolas Luck
576f13df60
Merge branch 'master' into library-use-case
2023-12-04 20:06:14 +01:00
Mark
004201abda
add module name and missing predicate key to module_does_not_contain_claimed_export error ( #2195 )
2023-12-04 11:19:44 -07:00
Mark Thom
6899c6b63c
Merge pull request #2201 from wkral/revert-2200-percent-graphic-char
...
Revert "Add '%' to the list of graphic_chars (#2199 )"
2023-12-04 10:46:37 -07:00
William Kral
7f5c56a2a8
Revert "Add '%' to the list of graphic_chars ( #2199 )"
2023-12-03 22:32:49 -08:00
Mark Thom
92e07d2be1
Merge pull request #2200 from wkral/percent-graphic-char
...
Add '%' to the list of graphic_chars (#2119 )
2023-12-03 23:02:05 -07:00
William Kral
aff1fdc6aa
Add '%' to the list of graphic_chars ( #2199 )
2023-12-03 21:30:05 -08:00
Mark Thom
b0b1efcc49
Merge pull request #2194 from triska/clpz_monotonic
...
support (#=)/3 and (#<)/3 also in the monotonic execution mode
2023-12-02 20:16:59 -07:00
Markus Triska
eb575b9882
support (#=)/3 and (#<)/3 also in the monotonic execution mode
2023-12-02 22:33:56 +01:00
Mark
e667abb143
move propagated_var_nums insertion to proper scope ( #2183 )
2023-12-01 22:35:36 -07:00
Mark
347ee0211b
propagate variable hits to parent branches in push_missing_vars ( #2183 )
2023-11-30 19:46:32 -07:00
Mark Thom
4f4feba6fc
Merge pull request #2187 from triska/term_si
...
ADDED: term_si/1, true for terms
2023-11-29 13:52:38 -07:00
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