#declarative-macro #transpiler #bf #brainfuck

brain_rust

A BF transpiler to rust written as a rust declarative macro

4 releases

0.1.3 Nov 12, 2021
0.1.2 Nov 12, 2021
0.1.1 Nov 12, 2021
0.1.0 Nov 12, 2021

#2247 in Rust patterns

MIT license

7KB
148 lines

brain_rust

A BF transpiler to rust written as a rust declarative macro

To use, invoke the brain_rust! macro and input a brainfuck program's source. Tokens other than: + - < > , . [ ] are not allowed, so you may need to strip those out.

No runtime deps