view ibin/bf @ 12265:984c8295238b draft

<b_jonas> slashlearn aoc/Advent of Code (AoC) is a series of programming puzzles that some regulars enjoy, found at "https://adventofcode.com/2019/about".
author HackEso <hackeso@esolangs.org>
date Mon, 16 Dec 2019 22:49:45 +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