rust-brainwords (brainwords) - v0.1.0
A simple and easy to use Brainfuck code generator in Rust.
How to use (Hello world! Example)
println!("{}", brainwords::generate_bfcode("hello world"));
Result on the console.
++++++++[>++++++++<-]>++++++++.<+++++[>+++++<-]>++++.<++[>++<-]>+++.<[><-]>.<+[>+<-]>++.<++++++++[>--------<-]>---------------.<
+++++++++[>+++++++++<-]>++++++.<++[>--<-]>----.<+[>+<-]>++.<++[>--<-]>--.<++[>--<-]>----.<++++++++[>--------<-]>---.
Installation
Add this line to your Cargo.toml:
[dependencies]
brainwords = "0.1.0"
and then add this line to your main.rs:
extern crate brainwords;