Brainfuck compiler/interpreter.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
LICENSE
README.md
phpbf

README.md

phpbf

PHPBF is a Brainfck compiler/interpreter, written in PHP. It can compile your Brainfck code to C, or you can run the code in the built-in interpreter.

Note: This version has only been tested with PHP version 5.5.1

Examples of Use

Compiling

./phpbf compile examples/test.bf test.c
clang examples/test.c -o test
./test

Interpreting

./phpbf run examples/hello.bf

What the fck is Brainfck?

Wikipedia Article On Brainf*ck

Muppet Labs Resource