This is a simple Brainfuck interpreter written in C++. Brainfuck is an esoteric programming language known for its minimalistic design. The interpreter reads Brainfuck code from a file and executes the instructions accordingly.
- C++ compiler (supporting c++ 11 or later)
- CMake (For building the project)
git clone https://github.com/HakanVardarr/brainfuck.git
cd brainfuck
mkdir build
cd build
cmake ..
This will generate makefile on your build folder or if you are in windows that will genearte brainfuck.sln.
- Windows:
MSBuild.exe .\brainfuck.sln
- MacOS / Linux:
make
./brainfuck <script.bf>
./brainfuck examples/hello_World.bf
This Brainfuck interpreter is inspired by and follows the specification provided by the Brainfuck programming language on Wikipedia.
The Brainfuck language was created by Urban Müller in 1993. For more information about Brainfuck and its history, please refer to the Wikipedia page: Brainfuck - Wikipedia.