Skip to content

simple Brainfuck interpreter written in Rust, to learn more about Rust, and building CLI-Applications

Notifications You must be signed in to change notification settings

BelimFaux/bf_interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brainfuck Interpreter

simple Brainfuck interpreter written in Rust, to learn more about the language, and building CLI-Applications

Brainfuck

Brainfuck is an esoteric programming language created in 1993 [...]. Designed to be extremely minimalistic, the language consists of only eight simple commands [...].
see Wikipedia

Usage

The Program can be compiled with cargo:

git clone https://github.com/BelimFaux/bf_interpreter.git
cd bf_interpreter
cargo run --release -- examples/hello_world.bf

It takes atleast one parameter for the Input-file or optionally the bf-code. It's also possible to set the size of the cell band, which is by default set to 30000.

For all options run ./target/release/bf-interpreter -h.

Examples are taken from the Wikipedia page of Brainfuck (see link above)

About

simple Brainfuck interpreter written in Rust, to learn more about Rust, and building CLI-Applications

Topics

Resources

Stars

Watchers

Forks

Languages