view ibin/brachylog @ 12448:4ee1bf5d8d4b draft

<oerjan> learn The password of the month is decided with a non-terminating computation.
author HackEso <hackeso@esolangs.org>
date Wed, 02 Feb 2022 12:48:05 +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)