Mercurial > repo
changeset 11874:1fc7b017c0a4 draft
<ais523> ` sed -i -e \'s/halt/write("\\ntrue."), !, halt; write("\\nfalse."), !, halt/\' ibin/brachylog
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 17 Jul 2019 22:07:26 +0000 |
parents | e27354cabcbf |
children | 79be353c9afe |
files | ibin/brachylog |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ibin/brachylog Tue Jul 16 22:09:59 2019 +0000 +++ b/ibin/brachylog Wed Jul 17 22:07:26 2019 +0000 @@ -1,3 +1,5 @@ #!/bin/sh echo "$1" > tmp/input.brachylog -(cd interps/brachylog/brachylog/Brachylog-master/src; swipl -g 'run_from_file("../../../../../tmp/input.brachylog", _, _), halt' brachylog.pl) \ No newline at end of file +(cd interps/brachylog/brachylog/Brachylog-master/src; swipl -g 'run_from_file("../../../../../tmp/input.brachylog", _, _), write(" +true."), !, halt; write(" +false."), !, halt' brachylog.pl) \ No newline at end of file