A non-optimization brainfuck macros for execute brainfuck language ~
git clone https://github.com/rniczh/brainfuck-macros.git
In Cargo.toml
[dependencies]
brainfuck-macros = { path = "path/to/brainfuck-macros" }
In main.rs
#![feature(proc_macro_hygiene)]
use brainfuck_macros::brainfuck;
fn main() {
brainfuck!(++++++++++[>+++++++>++++++++++>+++>+<<<<-]
>++.>+.+++++++..+++.>++.<<+++++++++++++++.
>.+++.------.--------.>+.>.);
}
Then
cargo +nightly run