Skip to content

fafato1/brainf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Brainf*ck compiler written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%