Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 431 Bytes

readme.md

File metadata and controls

7 lines (5 loc) · 431 Bytes

rust-bf

Brainf*** interpreter in Rust. Uses rust-peg for parsing.

Current optimizations include folding together sequences of moves (</>) and sequences of increments/decrements (+/-) into single commands at parse-time, detecting and converting multiplication loops, and removing most moves by adding offsets to commands in the IR.

Will eventually provide a compiler.