Mercurial > repo
view 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 |
line wrap: on
line source
#!/bin/sh echo "$1" > tmp/input.brachylog (cd interps/brachylog/brachylog/Brachylog-master/src; swipl -g 'run_from_file("../../../../../tmp/input.brachylog", _, _), write(" true."), !, halt; write(" false."), !, halt' brachylog.pl)