1 unstable release
Uses old Rust 2015
0.1.0 | Nov 11, 2017 |
---|
#26 in #esoteric
3KB
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;