Intermezzo: A brainf***-interpreter

by phimuemue

Here’s a 290-characters interpreter for the brainf*** programming language I wrote.

It has to be compiled specifying some specialties:

gcc -D"q(a,b)"="*c-a||b;" -o pmmbf pmmbf.c

and can be invoked as follows:

./pmmbf ",[-.]" 1000

The first argument specifies the brainf***-program to be run, the second argument determines the size of the tape.