Skip to content

jag426/rust-bf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Brainf*ck interpreter in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages