Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/grubino/brainf-ck-interpreter


https://github.com/grubino/brainf-ck-interpreter

Last synced: about 2 months ago
JSON representation

Lists

README

        

This code requires Boost.Spirit (>=v2), Boost.Variant, Boost.Foreach in order to compile. You can find them here:

http://www.boost.org/

Once you have the libraries installed and in your g++ include path, you can compile like so (compiling will take a minute or so):

g++ -o bf main.cpp brainf_ck.cpp

Then, you'll find the bf binary in your current directory. If you're using windows (without cygwin), then may God have mercy on your soul.

Once you have the bf binary, just type:

./bf

At a command prompt. I have included a couple of brainf_ck source files with this interpreter for testing. One is from http://esoteric.sange.fi/brainfuck/utils/mandelbrot/ and the other is by Clifford Wolf http://www.clifford.at/bfcpu/.

Let me know if you find any bugs or have any suggestions!
Enjoy!