Mercurial > repo
annotate ibin/brachylog @ 12074:e4e61154b054 draft
<fizzie> sled /hackenv/bin/wrl//s|wisdom/|$HACKENV/wisdom/|
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 16 Nov 2019 21:54:50 +0000 |
parents | 1fc7b017c0a4 |
children | b044eecae124 |
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 |
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
|
2 echo "$1" > tmp/input.brachylog |
11874
1fc7b017c0a4
<ais523> ` sed -i -e \'s/halt/write("\\ntrue."), !, halt; write("\\nfalse."), !, halt/\' ibin/brachylog
HackEso <hackeso@esolangs.org>
parents:
11870
diff
changeset
|
3 (cd interps/brachylog/brachylog/Brachylog-master/src; swipl -g 'run_from_file("../../../../../tmp/input.brachylog", _, _), write(" |
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(" |
1fc7b017c0a4
<ais523> ` sed -i -e \'s/halt/write("\\ntrue."), !, halt; write("\\nfalse."), !, halt/\' ibin/brachylog
HackEso <hackeso@esolangs.org>
parents:
11870
diff
changeset
|
5 false."), !, halt' brachylog.pl) |