#brainfuck #generator #esoteric #code

brainwords

A simple and easy to use Brainfuck code generator in Rust

1 unstable release

Uses old Rust 2015

0.1.0 Nov 11, 2017

#25 in #esoteric

MIT license

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;

No runtime deps