brainwords

Crates.iobrainwords
lib.rsbrainwords
version0.1.0
sourcesrc
created_at2017-11-11 13:04:33.904783
updated_at2017-11-11 13:04:33.904783
descriptionA simple and easy to use Brainfuck code generator in Rust.
homepage
repositoryhttps://github.com/DimChtz/brainfuck/tree/master/rust-brainwords
max_upload_size
id39018
size2,857
(DimChtz)

documentation

README

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;
Commit count: 0

cargo fmt