Skip to content

djichthys/bfexec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An implementation of BF in Rust

This is a Rust implementation of a simple Turing machine executing the esoteric BF language.

Inspired by a series of blog posts on JIT compilation by Eli Bendersky. The interpreter is a Rust implementation and JIT compilation is done with Cranelift.

Command line options

  • -e (Intepreter / CraneLift)
  • -v (with -e Cranelift will show generated CLIR)
  • Cargo run --features profile (Only works with -e Interpreter) This will show the list of opcodes, loops and loop structures executed

About

Simple BF interpreter and jit in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors