Remove a cut that sucked.
This commit is contained in:
@@ -35,9 +35,7 @@ loop( Line, In, Out) :-
|
||||
line(NextLine), !,
|
||||
loop(NextLine, S, Out).
|
||||
|
||||
do_line(Line, In, Out) :-
|
||||
phrase(joy_parse(E), Line), !,
|
||||
thun(E, In, Out).
|
||||
do_line(Line, In, Out) :- phrase(joy_parse(E), Line), thun(E, In, Out).
|
||||
do_line(_Line, S, S) :- write('Err'), nl.
|
||||
|
||||
prompt :- write(`joy? `).
|
||||
|
||||
Reference in New Issue
Block a user