Alexander McLin
|
9d49415449
|
Issue 3223: reformat via cargo fmt
|
2026-06-16 21:05:12 -04:00 |
|
Alexander McLin
|
83218bf0da
|
Issue 3223: make unsafe scopes tighter
|
2026-06-16 21:05:12 -04:00 |
|
Alexander McLin
|
fcd6c3f127
|
Issue 3223: Second phase of migration to Rust Edition
Reformat via `cargo fmt`
|
2026-06-16 21:05:12 -04:00 |
|
Alexander McLin
|
533594b6b6
|
Fixes issue 3264 by adding a fallback read mode when reading from non-tty stdin on Windows
|
2026-05-25 18:13:01 -04:00 |
|
Skgland
|
18b476af28
|
make ParserError a struct with an enum kind field
|
2026-01-24 04:08:40 +01:00 |
|
Skgland
|
3343188756
|
replace pairs of usize with location struct
|
2026-01-24 04:08:40 +01:00 |
|
Skgland
|
516848e214
|
wrap resource_error into an error/2 functor and don't wrap it into a syntax_error functor
|
2025-11-20 01:22:18 +01:00 |
|
Skgland
|
e9e97fe82a
|
handle machine heap/stack allocation error
|
2025-11-19 22:17:24 +01:00 |
|
Peter Mikkelsen
|
eb91b3c1fb
|
Style tweak
|
2025-08-25 20:47:29 +02:00 |
|
Peter Mikkelsen
|
90e6e84312
|
Update src/read.rs
Co-authored-by: Bennet Bleßmann <3877590+Skgland@users.noreply.github.com>
|
2025-08-24 14:27:33 +02:00 |
|
Peter Mikkelsen
|
39cf60bc05
|
Don't use "readline" input functionality for the following builtins:
* peek_byte
* peek_char
* peek_code
* get_byte
* get_char
* get_code
* get_n_chars
|
2025-08-22 11:02:59 +02:00 |
|
Mark Thom
|
907e64e185
|
fix root reading of complete strings (#2882)
|
2025-07-07 22:38:12 -07:00 |
|
Mark Thom
|
9e1e99f961
|
Revert "remove Term"
This reverts commit 3b5879841aedecba5057c70c71da0ba23e5cd84a.
|
2025-07-07 22:38:10 -07:00 |
|
Mark Thom
|
ae4d12a123
|
remove pstr_vec
|
2025-07-07 22:02:27 -07:00 |
|
Mark Thom
|
c0f72704ec
|
introduce bespoke Heap type for in-heap partial strings
|
2025-07-07 21:59:50 -07:00 |
|
Mark Thom
|
f7bbdfe73a
|
variable revision
|
2025-07-07 21:54:08 -07:00 |
|
Mark Thom
|
1ef681bd21
|
remove Term
|
2025-07-07 21:54:08 -07:00 |
|
bakaq
|
d9d90d1ae8
|
Emit warnings as Prolog comments
|
2023-12-30 17:39:20 -03:00 |
|
infogulch
|
9444e62df9
|
Resolve lints and format
|
2023-11-04 02:16:54 -05:00 |
|
Nicolas Luck
|
0c9740fe52
|
Fix wasm warnings
|
2023-10-17 22:07:38 +02:00 |
|
Bennet Bleßmann
|
01aeb7515d
|
[WIP] move towards lockless AtomTable
|
2023-09-05 19:39:46 +02:00 |
|
Bennet Bleßmann
|
13cbff7eab
|
[WIP] fix deadlock in AtomTable::build_with
|
2023-09-05 19:12:22 +02:00 |
|
Skgland
|
86166dbf25
|
[WIP] make AtomTable concurrentcy ready
|
2023-09-05 19:12:22 +02:00 |
|
Skgland
|
b2130c2a48
|
run cargo fmt
|
2023-09-05 19:12:17 +02:00 |
|
Rujia Liu
|
25d4950216
|
Allow users to disable optional features. Needed for wasm32 support (see #615).
|
2023-08-21 10:01:24 +08:00 |
|
Mark
|
fd7f24e265
|
remove EMIT_NEWLINE (#1900)
|
2023-07-22 21:42:40 -06:00 |
|
Mark
|
9a7862c322
|
correct max_depth option (#1876)
|
2023-07-22 11:11:23 -06:00 |
|
Mark
|
dcd7360b17
|
add EMIT_NEWLINE to add newlines to readline input only after query terms begin to be read (#1074, #1897)
|
2023-07-20 09:39:06 -06:00 |
|
Mark
|
85bc544fb9
|
dereference TermWriteResult variables sooner in read_term_body (#1894)
|
2023-07-18 15:39:51 -06:00 |
|
Mark
|
a154a34f87
|
omit anonymous variables from read_term variable_names and singletons lists
|
2023-07-17 13:20:10 -06:00 |
|
Mark
|
86c90d77dd
|
do a better job handling EOF in read_term (#1887)
|
2023-07-17 13:19:30 -06:00 |
|
Mark
|
c8b9059289
|
refine EOF handling more (#1873)
|
2023-07-09 10:29:47 -06:00 |
|
Mark
|
b8a6882a27
|
refine EOF handling
|
2023-07-08 22:25:30 -06:00 |
|
Mark
|
067b5998ee
|
clarify EOF error across stream types and predicates (#1867, #1870)
|
2023-07-08 13:38:52 -06:00 |
|
Mark
|
b0566e4150
|
use lexer to detect remaining layout in parse_number_from_string (#1773)
|
2023-06-30 17:18:10 -06:00 |
|
Mark
|
bb09de1805
|
fix ReadlineStream peek_char using CharReader
|
2023-06-29 14:58:15 -06:00 |
|
Mark
|
0e583d620a
|
implement new disjunction compilation
|
2023-06-23 14:11:31 -06:00 |
|
Mark Thom
|
fd97b84916
|
build partial strings using PStrLoc in write_term_to_heap (#1627)
|
2022-10-26 23:36:07 -06:00 |
|
Mark Thom
|
1ffbf63d20
|
inline metacalls
|
2022-10-26 23:36:07 -06:00 |
|
Mark Thom
|
bef8eb538c
|
throw a representation error if max arity is exceeded (#1483)
|
2022-05-22 00:03:55 -06:00 |
|
Mark Thom
|
4d23542ef3
|
add max arity checks at various stages (#1459)
|
2022-05-21 12:32:48 -06:00 |
|
Euan Lacy
|
c2a87f898e
|
fix: remove unnecessary string & vec allocations
|
2022-05-10 18:10:18 +01:00 |
|
Euan Lacy
|
aaa75c3ffc
|
wip: basic completion of predicates
|
2022-05-10 18:10:18 +01:00 |
|
Mark Thom
|
0f502fff84
|
compact lists of characters to partial strings in read_term_from_heap (#1452, #1453)
|
2022-05-03 19:12:16 -06:00 |
|
Mark Thom
|
2173a8e3cb
|
recognize missing syntax errors (#1354, #1361)
|
2022-03-22 22:48:51 -06:00 |
|
William Kral
|
5f1f07e5a1
|
Add --no-add-history flag
Flag prevents the input stream from saving terms to ~/.scryer_history
when set. Use the flag when running tests to increase test isolation.
|
2022-03-10 21:48:41 -08:00 |
|
Mark Thom
|
66c209f9e4
|
reset ReadlineStream from read_query_line (#1317, #1285)
|
2022-03-05 17:39:13 -07:00 |
|
Mark Thom
|
955e1799c8
|
flatten the instruction dispatch loop
|
2022-01-06 22:09:36 -07:00 |
|
Mark Thom
|
39efc12dc8
|
generate heap_loc cells to refer to 0-arity atoms in read.rs
|
2022-01-06 21:44:41 -07:00 |
|
Mark Thom
|
0404c3bd94
|
use new heap term representation
|
2022-01-06 21:44:38 -07:00 |
|