brainf is a brainfuck compiler/interpreter written in Go.
You must have Go 1.16+ in order to compile brainf.
First, clone this repository with the following command:
git clone https://github.com/thzoid/brainf.git
Then, compile it:
cd brainf
go build
brainf can be used to run .bf
scripts:
./brainf <relative file path>
You can try to run one of the example codes like this:
./brainf examples/sum.bf
3
2
5
Copyright © 2022 Thiago Antunes.
This project is MIT licensed.