Nicolas Luck
|
48a4835819
|
Merge branch 'master' into library-use-case
# Conflicts:
# Cargo.lock
# Cargo.toml
# src/bin/scryer-prolog.rs
# src/loader.pl
# src/machine/mock_wam.rs
# src/machine/mod.rs
# src/machine/system_calls.rs
|
2023-08-03 20:16:32 +02:00 |
|
Nicolas Luck
|
3cf3c0ea99
|
Integration stress test showing Machine blocking on query
|
2023-08-03 19:51:12 +02:00 |
|
Nicolas Luck
|
ac61055d43
|
Remove some unused code from lib_toplevel.pl
|
2023-08-03 17:41:20 +02:00 |
|
Joshua Parkin
|
65eb93793c
|
dont spawn a runtime in machine; inherit from outside with runtime::handle::Current
|
2023-08-03 16:22:03 +01:00 |
|
Mark
|
ec450fc567
|
allocate negator results in arena (#1898)
|
2023-08-02 19:50:36 -06:00 |
|
Mark Thom
|
2c05ebbded
|
Merge pull request #1943 from triska/dead_skeleton
FIXED: do not attach constraint if the propagator is already entailed and killed
|
2023-08-02 16:32:27 -06:00 |
|
Markus Triska
|
0ddda0a864
|
FIXED: do not attach constraint if the propagator is already entailed and killed
Example:
?- A#=A//A#==>B,A-B=1-1.
A = 1, B = 1.
This addresses #1941.
|
2023-08-03 00:26:40 +02:00 |
|
Nicolas Luck
|
3ff02da314
|
Deactivate some debugging outputs
|
2023-08-02 16:25:53 +02:00 |
|
Nicolas Luck
|
df048a4f42
|
Switch back to run_input_once and use duplicated write_eqs/2 without any input handling
|
2023-08-02 14:52:49 +02:00 |
|
Nicolas Luck
|
21c36880f1
|
Fix build
|
2023-08-02 14:51:41 +02:00 |
|
Mark Thom
|
02328d818c
|
Merge pull request #1938 from triska/remove_auxiliary_constraints
ENHANCED: forget auxiliary constraints set up by the propagator for multiplication
|
2023-07-31 14:52:34 -06:00 |
|
Mark Thom
|
0f55ba7218
|
Merge pull request #1939 from triska/oncology_trial_design
better wording, applying the feedback of @dcnorris. Thank you a lot!
|
2023-07-31 14:52:21 -06:00 |
|
Markus Triska
|
1c089a2bbb
|
better wording, applying the feedback from @dcnorris. Thank you a lot!
|
2023-07-31 22:07:13 +02:00 |
|
Markus Triska
|
54a887cdc3
|
ENHANCED: forget auxiliary constraints set up by the propagator for multiplication
This addresses the issue raised in https://github.com/mthom/scryer-prolog/discussions/1937.
|
2023-07-31 21:57:25 +02:00 |
|
Mark Thom
|
ca28c76e52
|
Merge pull request #1929 from Skgland/master
detect and prevent concurrent AtomTable use
|
2023-07-29 10:52:36 -06:00 |
|
Bennet Bleßmann
|
a70157003b
|
fix spelling
|
2023-07-29 13:11:00 +02:00 |
|
Bennet Bleßmann
|
6aa3c7d5d6
|
handle atom table resize
* bumping serial_test dev-dependency due to broken should_panic handling in old version
|
2023-07-29 11:22:25 +02:00 |
|
Bennet Bleßmann
|
4ef8c5c47d
|
detect and prevent² concurrent AtomTable use
²in the case of `#[cfg(not(test))]` there is still a toctou race as I am not sufficently familiar with Atomics
|
2023-07-27 23:37:03 +02:00 |
|
Mark Thom
|
31d17f135a
|
Merge pull request #1927 from triska/ascii_punctuation
FIXED: correct handling of ascii_punctuation in char_type/2 (#1926)
|
2023-07-27 14:51:01 -06:00 |
|
Markus Triska
|
03f7b01109
|
FIXED: correct handling of ascii_punctuation in char_type/2 (#1926)
|
2023-07-27 20:22:05 +02:00 |
|
Nicolas Luck
|
c2658dc6da
|
Try triska's toplevel and add some debugging println!s.
|
2023-07-27 14:46:00 +02:00 |
|
Nicolas Luck
|
30dac8ea41
|
HashSet -> BTreeSet: Make parsing or results and thus tests deterministic. Add comments.
|
2023-07-27 12:06:03 +02:00 |
|
Nicolas Luck
|
0d28404aad
|
Add special case when parsing
|
2023-07-27 11:50:38 +02:00 |
|
Nicolas Luck
|
2f99bb025c
|
Add consult that works with streams / strings in library use-case
|
2023-07-27 11:41:52 +02:00 |
|
Mark
|
bff48e7c7f
|
simplify and correct prefix-bracket spacing in heap_print.rs (#1914, #1918)
|
2023-07-26 09:32:54 -06:00 |
|
Mark
|
3b67ffa814
|
overwrite code indices of dynamic_undefined predicates (dynamic, multifile, discontiguous) on export
|
2023-07-25 13:48:34 -06:00 |
|
Mark Thom
|
49b4e4cbcb
|
Merge pull request #1907 from coasys/dashu
Replace rug with dashu
|
2023-07-25 11:35:10 -06:00 |
|
Mark
|
287c308bc3
|
track the parent operator of the current operator in heap_print to emit space if necessary (#1906)
|
2023-07-24 20:05:28 -06:00 |
|
Mark
|
af44d91568
|
Merge branch 'dashu' of https://github.com/coasys/scryer-prolog into coasys-dashu
|
2023-07-24 11:47:57 -06:00 |
|
Fayeed Pawaskar
|
40b6890c54
|
updated cargo to use git
|
2023-07-24 19:11:41 +05:30 |
|
Fayeed Pawaskar
|
7248425a76
|
Fixed warnings
|
2023-07-24 12:41:56 +05:30 |
|
Fayeed Pawaskar
|
1dcc1ca524
|
Fixed stackoverflow error
|
2023-07-24 12:19:41 +05:30 |
|
Fayeed Pawaskar
|
0e17d6acd7
|
remove rug completely
|
2023-07-24 10:12:22 +05:30 |
|
Fayeed Pawaskar
|
c89217903a
|
fix all the move errors
|
2023-07-24 10:12:14 +05:30 |
|
Mark
|
762e6d3ba4
|
pop both pending redirections in format_bar_separator_op when max depth exceeded (#1903)
|
2023-07-23 15:02:27 -06:00 |
|
Mark
|
e9ae80e250
|
fix list abbreviation (#1901)
|
2023-07-23 14:43:13 -06:00 |
|
Mark
|
fd7f24e265
|
remove EMIT_NEWLINE (#1900)
|
2023-07-22 21:42:40 -06:00 |
|
Mark
|
24450a8827
|
use ExitCode when halting so Drop is called, close terminal stream in rustyline Drop
|
2023-07-22 19:06:13 -06:00 |
|
Mark Thom
|
57e8ed65b0
|
Merge pull request #1050 from pmoura/add_float_integer_part_and_float_fractional_part_standard_functions
WIP: Add float_integer_part/1 and float_fractional_part/1 standard arithmetic functions
|
2023-07-22 13:48:16 -06:00 |
|
Mark
|
3f819e2dfd
|
additional write fixes, use rustyline 12.0.0 (#1876, #1901)
|
2023-07-22 11:53:09 -06:00 |
|
Mark
|
9a7862c322
|
correct max_depth option (#1876)
|
2023-07-22 11:11:23 -06:00 |
|
Mark Thom
|
92c77cdff5
|
Merge pull request #1899 from triska/master
remove another !/0 which is now no longer necessary due to improved indexing
|
2023-07-21 23:26:20 -06:00 |
|
Markus Triska
|
554e956ef5
|
remove another !/0 which is now no longer necessary due to improved indexing
|
2023-07-22 06:52:29 +02:00 |
|
Nicolas Luck
|
9fd6e18d59
|
Dedupe machine results
|
2023-07-22 00:32:24 +02:00 |
|
Nicolas Luck
|
d8a9475460
|
Add missing list_last_item to lib_toplevel.pl and increase MaxDepth of write_eq to avoid truncation of results
|
2023-07-22 00:31:49 +02:00 |
|
Mark
|
60d9d01a55
|
Merge branch 'add_float_integer_part_and_float_fractional_part_standard_functions' of https://github.com/pmoura/scryer-prolog into pmoura-add_float_integer_part_and_float_fractional_part_standard_functions
|
2023-07-21 15:35:28 -06:00 |
|
Mark
|
cb79552dd0
|
correct max_depth option (#1876)
|
2023-07-21 15:05:27 -06:00 |
|
Mark
|
f310ff24a5
|
remove now unnecessary cut in lists.pl
|
2023-07-21 11:35:57 -06:00 |
|
Nicolas Luck
|
b1963864d2
|
Explicitly dereference pointer to avoid calling neg() on reference
|
2023-07-21 17:07:40 +02:00 |
|
Nicolas Luck
|
9e85be11fe
|
Fix result parsing for complex string results
|
2023-07-21 14:35:44 +02:00 |
|