view bin/interp @ 11981:36076c26d393 draft

<kspalaiologos> le//rn bfasm//The brainfuck assembler. Documentation and samples: https://raw.githubusercontent.com/KrzysztofSzewczyk/asmbf/master/doc/bfasm.doc
author HackEso <hackeso@esolangs.org>
date Wed, 23 Oct 2019 17:53:47 +0000
parents 998bedd945f6
children 8e2e8092500d
line wrap: on
line source

#!/bin/bash
CMD=`echo -n "$1" | cut -d' ' -f1`
ARG="$(echo -n "$1" | cut -d' ' -f2-)"
exec ibin/$CMD "$ARG$2"