Crates.io | brainwords |
lib.rs | brainwords |
version | 0.1.0 |
source | src |
created_at | 2017-11-11 13:04:33.904783 |
updated_at | 2017-11-11 13:04:33.904783 |
description | A simple and easy to use Brainfuck code generator in Rust. |
homepage | |
repository | https://github.com/DimChtz/brainfuck/tree/master/rust-brainwords |
max_upload_size | |
id | 39018 |
size | 2,857 |
A simple and easy to use Brainfuck code generator in Rust.
println!("{}", brainwords::generate_bfcode("hello world"));
++++++++[>++++++++<-]>++++++++.<+++++[>+++++<-]>++++.<++[>++<-]>+++.<[><-]>.<+[>+<-]>++.<++++++++[>--------<-]>---------------.<
+++++++++[>+++++++++<-]>++++++.<++[>--<-]>----.<+[>+<-]>++.<++[>--<-]>--.<++[>--<-]>----.<++++++++[>--------<-]>---.
Add this line to your Cargo.toml:
[dependencies]
brainwords = "0.1.0"
and then add this line to your main.rs:
extern crate brainwords;