Skip to content

dimensi0n/gobrainfuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gobrainfuck

Just get go brainfuck:

go get -u github.com/dimensi0n/gobrainfuck

Import it:

import "github.com/dimensi0n/gobrainfuck"

Create a string wich contain the brainfucl code and compile it with the Compile() function:

string := ">+++.>-<--.>.>+"
buffer := gobrainfuck.Compile(string)
fmt.Println(buffer)

It will return:

3
1
-1
[0 1 -1 1 0 0 0 0 0 0 0 0 0 0 0]

About

The brainfuck compiler made with Golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages