brainfuck
December 8, 2014 ยท View on GitHub
Yet another nice brainfuck interpreter written in C.
Synopsis
$ git clone -q https://github.com/damiendart/brainfuck.git
$ # <http://www.robotinaponcho.net/git/brainfuck.git> works too.
$ cd brainfuck
$ make clean all > /dev/null
$ ./brainfuck examples/helloworld.bf
Hello, World!
$ cat examples/helloworld.bf | ./brainfuck
Hello, World!
$ # ./brainfuck --help
Embedding brainfuck
This implementation of brainfuck is easy to embed into a C/C++ project: simply add "src/brainfuck.h" and "src/brainfuck.c" to the build and call the simple Lua-style API to get (kinda) instant brainfuck. For more information, see "src/brainfuck.h".
Testing
COMING SOON (MAYBE).
Licence
This implementation of brainfuck is written by Damien Dart, damiendart@pobox.com. This is free and unencumbered software released into the public domain. For more information, please refer to the accompanying "UNLICENCE" file.