view ibin/brachylog @ 11999:64fb792e12e8 draft

<wib_jonas> `` perl -pi -e \'s/^(url\\(1hackeso\\) -) .*/$1 print URL for a file in the hackenv hg repository and web access of the repository/; print\' share/whatis
author HackEso <hackeso@esolangs.org>
date Mon, 04 Nov 2019 12:20:27 +0000
parents 1fc7b017c0a4
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)