brainfuck

command module
v0.0.0-...-61374c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2023 License: MIT Imports: 10 Imported by: 0

README

Brainfuck Interpreter

A simple interpreter for the brainfuck language written in Go.

Dialects supported (& default extension):

Running

$ cat examples/hello-world.bf
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
$ go build
$ brainfuck examples/hello-world.bf
Hello World!
Arguments

-d, --debug Prints out some debugging information. Very verbose.

--dialects Lists supported dialects.

-l, --language Specifiy the dialect to use.

Input caveat

Inputting data (with ,) is not very user friendly yet. Input is buffered so the user has to hit the enter key to send the data to the program. Fixing this on Linux is easy enough but Windows is a different story.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL