fix prolog executor and instructions

This commit is contained in:
Brian Seymour 2021-02-19 00:33:39 -06:00
parent 2ca831f822
commit 87b124c737
2 changed files with 5 additions and 5 deletions

View file

@ -2,8 +2,7 @@
cd /tmp/$1
sed 's/^.*$/:- forall((Goal = (\0), call(Goal)), (write(Goal), nl))./' input.input |
cat code.code - > code.pl
sed 's/^.*$/:- forall((Goal = (\0), call(Goal)), (write(Goal), nl))./' stdin.stdin |
cat code.code - > code.pl
timeout -s KILL 3 swipl -g true -t halt code.pl