Skip to content
A Brainfuck interpreter written in C++
C++ Brainfuck Python
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.
.vscode
.gitignore
BUILD
bfcomputer.cpp
bfcomputer.hpp
hw.b
main.cpp
prog.b
readme.md

readme.md

This is a simple command line BrainFuck interpreter. It currently supports reading directly from text files, and outputting to stdout.

The project is setup to build with Bazel, to build, run bazel build bfi, and to run, bazel run bfi. You will need to change the argument to the program inside the BUILD file, to have it use your brainfuck script.

Manual compilation: run g++ main.cpp bfcomputer.cpp -o /path/to/executable To run the executable, run ./bfi /path/to/brainfuck/file

Licence: Do what you want with it, just link this repo with it.

You can’t perform that action at this time.