#brain #bf #transpiler #strip #macro #input

brain_rust

A BF transpiler to rust written as a rust declarative macro

4 releases

Uses new Rust 2021

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

#1372 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