mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 04:26:28 +02:00
fix prolog executor and instructions
This commit is contained in:
parent
2ca831f822
commit
87b124c737
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue