Skip to content
A simple brainfuck interpreter written in C.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
src
.gitignore
Makefile
README
TODO
UNLICENCE

README

brainfuck
=========

Yet another [nice][1] [brainfuck][2] interpreter written in C.

[1]: <http://www.muppetlabs.com/~breadbox/bf/standards.html>
[2]: <http://en.wikipedia.org/wiki/Brainfuck>


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.
You can’t perform that action at this time.