Mercurial > repo
comparison ibin/bf @ 12144:b044eecae124 draft
<fizzie> dwim "fix all the interp stuff"
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sun, 17 Nov 2019 21:40:18 +0000 |
parents | c989a1669243 |
children |
comparison
equal
deleted
inserted
replaced
12143:f35125e00403 | 12144:b044eecae124 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 . lib/interp | 2 . ${HACKENV-/hackenv}/lib/interp |
3 | 3 |
4 # Get the bitwidth from the command | 4 # Get the bitwidth from the command |
5 BW=`echo "$I_CMD" | sed 's/.*bf//'` | 5 BW=`echo "$I_CMD" | sed 's/.*bf//'` |
6 if [ "$BW" = "" ] ; then BW=8 ; fi | 6 if [ "$BW" = "" ] ; then BW=8 ; fi |
7 | 7 |
8 interp_file ./interps/egobf/src/egobfi$BW | 8 interp_file ${HACKENV-/hackenv}/interps/egobf/src/egobfi$BW |