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: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/grubino/brainf-ck-interpreter
- Owner: grubino
- Created: 2011-06-25T22:29:30.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-02-19T20:37:52.000Z (almost 11 years ago)
- Last Synced: 2024-04-24T15:34:59.866Z (9 months ago)
- Language: C
- Homepage:
- Size: 148 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- AwesomeInterpreter - brainf-ck-interpreter
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!