comparison ibin/brachylog @ 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 6460448653be
children b044eecae124
comparison
equal deleted inserted replaced
11873:e27354cabcbf 11874:1fc7b017c0a4
1 #!/bin/sh 1 #!/bin/sh
2 echo "$1" > tmp/input.brachylog 2 echo "$1" > tmp/input.brachylog
3 (cd interps/brachylog/brachylog/Brachylog-master/src; swipl -g 'run_from_file("../../../../../tmp/input.brachylog", _, _), halt' brachylog.pl) 3 (cd interps/brachylog/brachylog/Brachylog-master/src; swipl -g 'run_from_file("../../../../../tmp/input.brachylog", _, _), write("
4 true."), !, halt; write("
5 false."), !, halt' brachylog.pl)