rust-brainpreter (brainpreter) - v0.1.0
A simple and easy to use Brainfuck interpreter.
How to use (Hello world! Example)
Create a new brainpreter.
let mut bf = new;
Load brainfuck code from text string or file.
// For file use: .load_from_file()
match bf.load
Compile the bf code.
match bf.parse
Finally run it.
match bf.run
Result on the console.
Installation
Add this line to your Cargo.toml:
[]
= "0.1.0"
and then add this line to your main.rs:
extern crate brainpreter;