Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Brainfuck compiler/interpreter.
Branch: master

Merge pull request #1 from nitrix/patch-1

Minor fix - Small speed improvements
latest commit 35f9569d67
@jessehorne authored
Failed to load latest commit information.
examples put index in wrong place
LICENSE first commit
README.md updated readme
phpbf Update 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

Something went wrong with that request. Please try again.