Skip to content

Latest commit

Β 

History

History
44 lines (29 loc) Β· 791 Bytes

File metadata and controls

44 lines (29 loc) Β· 791 Bytes

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.