annotate ibin/brachylog @ 12296:042127c1c142 draft

<fizzie> ` rm /hackenv/bin/bfi; ln -s /hackenv/lib/kps/bfi /hackenv/bin/bfi # no need for actual copies that you can forget to delete though
author HackEso <hackeso@esolangs.org>
date Sat, 04 Jan 2020 13:28:36 +0000
parents b044eecae124
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11870
6460448653be <ais523> ` printf \'#!/bin/sh\\necho "$1" > tmp/input.brachylog\\n(cd interps/brachylog/brachylog/Brachylog-master/src; swipl -g \'\\\'\'run_from_file("../../../../../tmp/input.brachylog", _, _), halt\'\\\'\' brachylog.pl)\' > ibin/brachylog
HackEso <hackeso@esolangs.org>
parents:
diff changeset
1 #!/bin/sh
12144
b044eecae124 <fizzie> dwim "fix all the interp stuff"
HackEso <hackeso@esolangs.org>
parents: 11874
diff changeset
2 echo "$1" > /tmp/input.brachylog
b044eecae124 <fizzie> dwim "fix all the interp stuff"
HackEso <hackeso@esolangs.org>
parents: 11874
diff changeset
3 (cd ${HACKENV-/hackenv}/interps/brachylog/brachylog/Brachylog-master/src; swipl -g 'run_from_file("/tmp/input.brachylog", _, _), write("
11874
1fc7b017c0a4 <ais523> ` sed -i -e \'s/halt/write("\\ntrue."), !, halt; write("\\nfalse."), !, halt/\' ibin/brachylog
HackEso <hackeso@esolangs.org>
parents: 11870
diff changeset
4 true."), !, halt; write("
12144
b044eecae124 <fizzie> dwim "fix all the interp stuff"
HackEso <hackeso@esolangs.org>
parents: 11874
diff changeset
5 false."), !, halt' brachylog.pl)