Skip to content

A simple brainfuck interpreter written in C.

License

Notifications You must be signed in to change notification settings

damiendart/brainfuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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,
<[email protected]>. This is free and unencumbered software released
into the public domain. For more information, please refer to the
accompanying "UNLICENCE" file.

About

A simple brainfuck interpreter written in C.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published