view ibin/bf @ 12327:b3e29671d69e draft

<b_jonas> learn ayacc is ais523\'s yacc parser generator implementation, get it from (darcs clone http://nethack4.org/projects/ayacc) or a snapshot from "http://nethack4.org/pastebin/ayacc-2020-04.tar.gz".
author HackEso <hackeso@esolangs.org>
date Wed, 08 Apr 2020 20:27:14 +0000
parents b044eecae124
children
line wrap: on
line source

#!/bin/sh
. ${HACKENV-/hackenv}/lib/interp

# Get the bitwidth from the command
BW=`echo "$I_CMD" | sed 's/.*bf//'`
if [ "$BW" = "" ] ; then BW=8 ; fi

interp_file ${HACKENV-/hackenv}/interps/egobf/src/egobfi$BW