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 |
|
Nicolas Luck
|
9e85be11fe
|
Fix result parsing for complex string results
|
2023-07-21 14:35:44 +02:00 |
|
Nicolas Luck
|
0b833bd2f3
|
Add missing write_goal/3 to lib_toplevel.pl
|
2023-07-21 00:23:35 +02:00 |
|
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 |
|
Nicolas Luck
|
644559b7f7
|
Add back newline at end of toplevel.pl
|
2023-07-17 21:52:17 +02:00 |
|
Nicolas Luck
|
bb95ed3ad0
|
Add back all needed predicates to lib_toplevel.pl
|
2023-07-17 21:48:05 +02: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 |
|
Nicolas Luck
|
c0dd94c8a3
|
Add test for programatic queries
|
2023-07-12 11:57:53 +02:00 |
|
Nicolas Luck
|
f65675836c
|
Fix build warnings
|
2023-07-12 11:38:53 +02:00 |
|
Nicolas Luck
|
f324c9591d
|
Refactor result parsing to idiomatic Rust and extract into parsed_results.rs
|
2023-07-12 10:34:07 +02:00 |
|
Nicolas Luck
|
3347f830c7
|
Remove debug println!s
|
2023-07-12 01:26:54 +02:00 |
|
Nicolas Luck
|
568abef5b8
|
Parsed QueryResult
|
2023-07-12 01:24:39 +02:00 |
|
Nicolas Luck
|
703efdb22d
|
Make run_input_once/0 match and print all results
|
2023-07-12 00:03:47 +02:00 |
|
Nicolas Luck
|
2f45f0cfed
|
Add convenience methods Machine::load_module_string() and Machine::run_query()
|
2023-07-11 14:51:58 +02:00 |
|
Nicolas Luck
|
112d398175
|
Add Machine::run_input_once() which reads one goal from user input and runs it
|
2023-07-11 14:24:30 +02:00 |
|
Nicolas Luck
|
95b31146b5
|
Add Machine::set_user_input(&mut self, input: String) and get_user_output() -> String. Make read_term_from_user_input() handle Stream::Byte.
|
2023-07-11 14:22:27 +02:00 |
|