Joshua Parkin
|
65eb93793c
|
dont spawn a runtime in machine; inherit from outside with runtime::handle::Current
|
2023-08-03 16:22:03 +01: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 |
|
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
|
3b67ffa814
|
overwrite code indices of dynamic_undefined predicates (dynamic, multifile, discontiguous) on export
|
2023-07-25 13:48:34 -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
|
7248425a76
|
Fixed warnings
|
2023-07-24 12:41:56 +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
|
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 |
|
Nicolas Luck
|
9fd6e18d59
|
Dedupe machine results
|
2023-07-22 00:32:24 +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 |
|
Nicolas Luck
|
9e85be11fe
|
Fix result parsing for complex string results
|
2023-07-21 14:35:44 +02:00 |
|
Fayeed Pawaskar
|
b4e7000eb2
|
Fixed missing functionality in dashu with their methods still has some issue with move
|
2023-07-21 14:21:32 +05:30 |
|
Nicolas Luck
|
7c93450aa7
|
type QueryResult = Result<QueryResolution, String>
|
2023-07-20 22:31:20 +02:00 |
|
Nicolas Luck
|
cae32d6a00
|
Error handling
|
2023-07-20 22:23:51 +02:00 |
|
Nicolas Luck
|
836f6c1d5b
|
Don't panic when parsing results fails
|
2023-07-20 21:34:43 +02:00 |
|
Mark
|
1697cd5c7f
|
add log10, hyperbolic tan and inverse hyperbolic tan functions (#1898)
|
2023-07-20 12:33:51 -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 Thom
|
1ba040c24d
|
Merge pull request #1885 from mthom/setof_bagof_fixes
Fix group_by_variants/4 and keysort in setof/3
|
2023-07-18 12:35:10 -06:00 |
|
Mark
|
56f6772422
|
call write_read_term_options if read_term_from_chars/3 succeeds by unifying Term to end_of_file (#1892)
|
2023-07-18 12:15:20 -06:00 |
|
Mark
|
42a50474da
|
remove read/{1,2} as a builtin, write read options upon EOF, throw better domain errors in parse_read_term_options/2
|
2023-07-17 16:45:03 -06:00 |
|
Mark
|
cf367024fd
|
add specialized EOF handling for user input (#1892)
|
2023-07-17 14:38:26 -06:00 |
|
Nicolas Luck
|
3947390877
|
Use lib constructor in lib tests
|
2023-07-17 21:47:43 +02:00 |
|
Nicolas Luck
|
e7f1e32ee3
|
fmt machine/parsed_results.rs
|
2023-07-17 21:35:00 +02:00 |
|
Nicolas Luck
|
5f8cc3c64b
|
WIP: refactor to generalize Machine::run_top_level()
|
2023-07-17 21:34:26 +02: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 |
|
Fayeed Pawaskar
|
cf345d8174
|
wip dashu move
|
2023-07-17 20:40:41 +05:30 |
|
Mark
|
de10ccfdee
|
re-factor options handling of read_term into read_term_body (#1887)
|
2023-07-15 21:52:54 -06:00 |
|
Mark
|
65a8ce8e22
|
generalize simple goal detection to fix call/N test failures in logtalk test suite
|
2023-07-15 19:29:06 -06:00 |
|
Mark
|
5a7da721cd
|
add read_term_from_chars/3 (#637)
|
2023-07-15 11:20:20 -06:00 |
|
Mark
|
617c961f88
|
add is_inbuilt check to err_on_builtin_overwrite (#1872)
|
2023-07-15 10:44:00 -06:00 |
|
Mark
|
e95355e56e
|
eliminate call_with_inference_limit/3 leaks (#1300)
|
2023-07-15 10:22:23 -06:00 |
|
Mark
|
ff5e9a793b
|
add unknown flag to set_prolog_flag and current_prolog_flag
|
2023-07-14 19:10:10 -06:00 |
|
Mark
|
101d0548db
|
fix group_by_variants/4 and keysort in setof/3 (#1440, #1856)
|
2023-07-14 18:52:29 -06:00 |
|
Mark
|
ba2cd43144
|
fix assert(a|z)/1 errors
|
2023-07-13 17:12:17 -06:00 |
|
Mark
|
12f890e4a2
|
throw permission_error in compile_assert when attempting to assert a built-in (#1872)
|
2023-07-13 15:03:26 -06:00 |
|
Mark
|
a9cb826bf3
|
arith_eval_by_metacall may receive a stack variable
|
2023-07-13 13:58:51 -06:00 |
|
Mark
|
4163cb038d
|
correct peek_code/2, don't set stream position in peek functions
|
2023-07-13 13:37:34 -06:00 |
|
Mark
|
b051f39145
|
correct peek_byte/2 bugs (#1882)
|
2023-07-13 12:23:20 -06:00 |
|
Mark
|
cfc49243c8
|
improve ground/1 performance (#1389)
|
2023-07-12 18:11:56 -06:00 |
|
Mark
|
29430ec88b
|
fix peek_byte/2 crash (#1882)
|
2023-07-12 16:34:11 -06:00 |
|
Mark
|
4fd37335f5
|
use lookahead to skip inapplicable clauses (#1028, #1502)
|
2023-07-12 14:39:02 -06:00 |
|