/brainf

Brainf*ck compiler written in Go

Primary LanguageGo

brainf

brainf is a brainfuck compiler/interpreter written in Go.

📃 Prerequisites

You must have Go 1.16+ in order to compile brainf.

⚙️ Compiling

First, clone this repository with the following command:

git clone https://github.com/thzoid/brainf.git

Then, compile it:

cd brainf
go build

🚀 Usage

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

📝 License

Copyright © 2022 Thiago Antunes.
This project is MIT licensed.