Add Machine::run_input_once() which reads one goal from user input and runs it
This commit is contained in:
@@ -430,3 +430,6 @@ print_exception_with_check(E) :-
|
||||
% is expected to be printed instead.
|
||||
; print_exception(E)
|
||||
).
|
||||
|
||||
run_input_once :-
|
||||
catch(read_and_match, E, print_exception(E)).
|
||||
|
||||
Reference in New Issue
Block a user