Skip to content

joaodelgado/go-brainfuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

GO-BRAINFUCK

Simple brainfuck interpreter written in Go as an exercise to get my hands dirty with the language.

This is just an adaptation of the post written by Dennis Felsing on how to start Nim projects.

Usage

If run without arguments, it interprets the first input line:

$ go run brainfuck.go
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
Hello World!

It also accepts the name of a file as the first argument:

$ go run brainfuck.go helloworld.b
Hello World!

About

Brainfuck interpreter written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages