view ibin/brachylog @ 12302:4bae7ca7771a draft

<kspalaiologos> ` cat > ../wisdom/kspalaiologos <<<"kspalaiologos is a brainfuck addict and a late night Perl hacker. He\'s secretly disassembling brainfuck code for a casino that lost the source code. Apparently knows the secret of Malbolge."
author HackEso <hackeso@esolangs.org>
date Sat, 18 Jan 2020 19:01:43 +0000
parents b044eecae124
children
line wrap: on
line source

#!/bin/sh
echo "$1" > /tmp/input.brachylog
(cd ${HACKENV-/hackenv}/interps/brachylog/brachylog/Brachylog-master/src; swipl -g 'run_from_file("/tmp/input.brachylog", _, _), write("
true."), !, halt; write("
false."), !, halt' brachylog.pl)