Markus Triska
e951db662d
ENHANCED: allow Roman numerals in strings
...
Example:
?- X = "ↁ".
X = "ↁ".
This addresses #1790 .
2023-05-03 22:02:47 +02:00
Mark
c5a3ec3ba8
fix current_predicate/1 ( #1761 )
2023-04-24 23:23:27 -06:00
Mark Thom
f12a90351a
Merge pull request #1794 from aarroyoc/uppercase-2
...
Fix to_upper/to_lower when string is instantiated
2023-04-23 17:08:21 -06:00
Adrián Arroyo Calle
b162c40007
Fix to_upper/to_lower when string is instantiated
2023-04-23 23:01:29 +02:00
Mark Thom
402100fd52
Merge pull request #1797 from triska/clpb_residuals
...
remove residual goal for ground BDD
2023-04-23 10:31:40 -06:00
Markus Triska
2a1b8f37ec
remove residual goal for ground BDD
...
Example:
?- sat(X).
X = 1.
2023-04-23 09:23:00 +02:00
Mark
7d2e59ab64
discard CodeIndex literals from unfolded control operators in preprocessor ( #1791 )
2023-04-22 18:38:50 -06:00
Mark
f35298a227
add and document inlined_instructions/2 to/in diag.pl ( #1791 )
2023-04-22 18:38:49 -06:00
Mark Thom
198e925430
Merge pull request #1796 from triska/dif_si
...
ADDED: dif_si/2
2023-04-22 17:21:03 -06:00
Markus Triska
8b7281fad0
ADDED: dif_si/2
...
Source: https://stackoverflow.com/questions/20223390/prolog-a-person-is-a-sibling-of-himself
In Scryer Prolog, this is actually not needed, since Scryer Prolog provides
dif/2 in library(dif). However, it is still useful to provide dif_si/2 for two reasons:
1) to more easily port code from systems where only dif_si/2 is available
2) to provide correct disequality in other systems that adopt this library
2023-04-23 00:37:14 +02:00
Mark Thom
502574dfc3
Merge pull request #1795 from infogulch/fix-ci-install
...
Use --force to install cargo2junit
2023-04-22 16:03:39 -06:00
infogulch
7a0f4e5787
Use --force to install cargo2junit
...
This probably appeared now because it's the first time this tool was cached
from a previous run.
2023-04-22 15:42:10 -05:00
Mark Thom
f277f660f3
Merge pull request #1793 from infogulch/fix-action-ref
...
Change ref for `publish-unit-test-result-action`
2023-04-22 11:26:45 -06:00
infogulch
9c037d6028
Change ref for publish-unit-test-result-action
2023-04-22 10:18:10 -05:00
Mark Thom
396528189d
Merge pull request #1789 from aarroyoc/uppercase
...
library(charsio): add to_upper and to_lower
2023-04-20 07:17:09 +02:00
Adrián Arroyo Calle
4b882c465c
library(charsio): add to_upper and to_lower
2023-04-18 18:58:09 +02:00
Mark Thom
8937cac47d
Merge pull request #1783 from infogulch/test
...
Refactor CI Workflow
2023-04-18 08:35:45 +02:00
infogulch
5a3e2899dd
Refactor CI Workflow
...
* Rename the workflow from Test to CI, since it does more than tests
* Run logtalk tests in a separate job to improve isolation
* Publish all xunit/junit test files as build artifacts to be consumed
by a separate publishing workflow.
* Add "job summary" feature to show a formatted summary of the test
results on the job summary status page
* Run the CI job once every Wed to ensure that there are always some
recent builds on master that haven't expired.
2023-04-14 14:55:49 -05:00
Mark Thom
3a5ed4723b
Merge pull request #1785 from mthom/dependabot/cargo/h2-0.3.17
...
Bump h2 from 0.3.15 to 0.3.17
2023-04-14 06:22:32 +02:00
Mark Thom
dcf4c44173
Merge pull request #1786 from triska/tuples_in
...
FIXED: propagation for ground tuples
2023-04-14 06:22:18 +02:00
Markus Triska
5763a4b9df
FIXED: propagation for ground tuples
...
Example:
?- tuples_in([[A,A]],[[0,1],[2,0]]).
false.
See https://github.com/triska/clpz/issues/22 .
2023-04-13 23:39:45 +02:00
dependabot[bot]
82200a21eb
Bump h2 from 0.3.15 to 0.3.17
...
Bumps [h2](https://github.com/hyperium/h2 ) from 0.3.15 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases )
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/h2/compare/v0.3.15...v0.3.17 )
---
updated-dependencies:
- dependency-name: h2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-13 17:03:50 +00:00
Mark Thom
fc7d98d748
Merge pull request #1780 from triska/tuples_in
...
Various improvements to tuples_in/2
2023-04-12 19:10:50 +02:00
Markus Triska
5dce7d9075
FIXED: enforce equality also for ground elements in tuples
...
Example:
?- tuples_in([[A,B]], [[1,2],[3,4]]),
tuples_in([[A,B]], [[3,2]]).
false.
See https://github.com/SWI-Prolog/swipl-devel/issues/1160 .
2023-04-11 22:33:19 +02:00
Markus Triska
f08f539768
do not create attributed variables for ground tuples
2023-04-11 21:26:18 +02:00
Markus Triska
be45672e22
actually disable and reenable the queue
2023-04-11 21:26:18 +02:00
Markus Triska
94efb9ffe3
remove no longer needed clpz_relation attributes
2023-04-11 21:26:18 +02:00
Markus Triska
fd1e902492
do not leave an attribute when (re-)enabling a queue
2023-04-11 21:14:18 +02:00
Mark Thom
8d6e3d7d56
Merge pull request #1776 from infogulch/master
...
Add iso prolog / logtalk tests to test runner
2023-04-07 06:09:08 +02:00
infogulch
a197bb6815
Allow the test suite to fail without failing the build
2023-04-06 09:40:03 -05:00
infogulch
9de8456c7f
Add logtalk test suite
2023-04-02 17:31:20 -05:00
infogulch
ebf8091dba
Test workflow cleanup; switch to macos-11
2023-04-02 14:47:52 -05:00
Mark Thom
47ce84b273
Merge pull request #1772 from triska/number_chars
...
FIXED: number_chars(N, "0' "), addressing #1580 .
2023-04-02 19:24:59 +02:00
Mark Thom
449e097f4a
Merge pull request #1774 from infogulch/master
...
Optimize Test GH action
2023-04-02 19:24:36 +02:00
Markus Triska
fe27605497
FIXED: number_chars(N, "0' "), addressing #1580 .
...
There may be a more elegant way to solve this.
2023-04-02 10:04:52 +02:00
infogulch
8792ee438c
Add cache step to test workflow
2023-04-02 02:09:41 -05:00
Mark Thom
7279062d3c
Merge pull request #1770 from triska/doc
...
Smaller documentation improvements to explain compilation and target directory
2023-04-01 23:28:19 +02:00
Markus Triska
b87fe1e21f
DOC: link to "Indexing dif/2"
2023-04-01 11:04:37 +02:00
Markus Triska
d6ac125425
DOC: explain location of scryer-prolog after compilation
...
This question was recently raised on the #scryer IRC channel.
2023-04-01 11:04:37 +02:00
Markus Triska
b79d8732ea
use the release flag so that the instructions can be used verbatim
...
Also, the location of the executable depends on this flag.
2023-04-01 11:04:33 +02:00
Markus Triska
3df0806017
change "run" to "build", since "run" leads to a Scryer prompt which can be unexpected
2023-04-01 11:03:31 +02:00
Mark Thom
c7759aa737
Merge pull request #1769 from triska/show_pending_constraints
...
ENHANCED: use call_residue_vars/2 to show all pending constraints
2023-03-31 04:51:34 +02:00
Markus Triska
8ab1155fc5
ENHANCED: use call_residue_vars/2 to show all pending constraints
...
Example:
?- freeze(_, false).
freeze:freeze(_A,false).
This was originally added in 04ba9bc11a ,
then reverted, and is now restored.
2023-03-30 23:49:33 +02:00
Mark Thom
adc77985d7
broaden the definition of alpha_char! ( #1749 , #1515 , #1591 )
2023-03-26 11:10:46 -06:00
Mark Thom
d85fc7c9f8
Merge pull request #1765 from mthom/dependabot/cargo/openssl-0.10.48
...
Bump openssl from 0.10.42 to 0.10.48
2023-03-25 06:20:00 +01:00
dependabot[bot]
41b083c962
Bump openssl from 0.10.42 to 0.10.48
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.42 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.42...openssl-v0.10.48 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-25 01:27:40 +00:00
Mark Thom
4ee6a7bfb8
add '$unattributed_var' builtin ( #1758 )
2023-03-18 23:08:38 -06:00
Mark Thom
6e53d08d40
Merge pull request #1759 from triska/better_queue
...
Better queue
2023-03-16 04:34:33 +01:00
Markus Triska
01285f12c3
remove no longer needed queue attributes after propagation
2023-03-15 21:17:06 +01:00
Markus Triska
cd586aab8c
show remaining queue/2 attributes as residual goals
...
This lets us verify that all attributes are correctly removed earlier.
2023-03-15 19:56:02 +01:00