view ibin/bf @ 12289:dca7aa2524f0 draft

<kspalaiologos> `` cat <<<"asmbf && bfi /hackenv/tmp/output.b && rm -f /hackenv/tmp/output.b" > /hackenv/ibin/asmbf
author HackEso <hackeso@esolangs.org>
date Thu, 02 Jan 2020 15:33:10 +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