Crates.io | brainfrick |
lib.rs | brainfrick |
version | 1.1.2 |
source | src |
created_at | 2020-05-18 18:15:30.251087 |
updated_at | 2020-10-20 21:06:04.868832 |
description | An optimizing brainfuck interpreter with helpful errors. |
homepage | |
repository | https://github.com/Purpzie/brainfrick |
max_upload_size | |
id | 243123 |
size | 43,672 |
A brainfuck interpreter with helpful errors. See the documentation.
Add this to your Cargo.toml
:
[dependencies]
brainfrick = "1.1.2"
use brainfrick::Brainfuck;
let purpzie_sucks = Brainfuck::execute("
++++++++[>++++++++++<-]>.<++[>++++++++++<-]+++[>+++++<-]>+
+.---.--.++++++++++.<++[>----------<-]>+++.----.<+++++++[>
----------<-]>+.<++++++++[>++++++++++<-]>+++.++.<+++[>----
--<-]>.++++++++.++++++++.<++++++++[>----------<-]>--.
")?;
assert_eq!(purpzie_sucks, "Purpzie sucks!");
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.