Skip to content

0xMukesh/brainfreeze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brainfreeze

a tiny brainfuck interpreter written in golang

usage

the package is not yet published to https://pkg.go.dev so if you want to try it out, you have to build it from source

git clone https://github.com/0xmukesh/brainfreeze
cd brainfreeze
go build -o brainfreeze cmd/interpreter/main.go

create a new file ending with .bf (test.bf)

>++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<+
+.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>-
]<+.
./brainfreeze -file test.bf

here is the output for the above code

Hello, World!

Releases

No releases published

Packages

No packages published