| Crates.io | bf2s |
| lib.rs | bf2s |
| version | 0.1.1 |
| created_at | 2025-04-04 05:37:25.215205+00 |
| updated_at | 2025-07-26 17:17:45.776556+00 |
| description | A simple Brainfuck interpreter that executes code from a string and returns the output as a string. |
| homepage | |
| repository | https://github.com/eschwart/bf2s |
| max_upload_size | |
| id | 1619464 |
| size | 5,146 |
fn main() {
let code = "
-[------->+<]>-.-[->+++++<]>
++.+++++++..+++.[->+++++<]>+
.------------.---[->+++<]>.-
[--->+<]>---.+++.------.----
----.-[--->+<]>.
";
let s = bf2s::bf_to_str(code);
assert_eq!(s, "Hello, World!")
}