Skip to content

J3m3/bfvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bfvm

A simple brainf*** virtual machine capable of interpretation & JIT compilation

...which is written in Rust from scratch with minimal dependencies!

Getting Started

Note

Make sure you installed Cargo in your environment.

Warning

sizeof(memory) == 32bit cell * 2^16

  1. Clone this Repository
git clone --depth=1 [email protected]:J3m3/bfvm.git bfvm
cd bfvm
  1. Run examples
cargo run -r -q -- ./example/hello.bf

TODO

  • generate (something similar to) IR from tokens
  • implement the interpreter
  • support JIT compilation for aarch64 linux
  • support JIT compilation for x86_64 linux

About

A simple brainf*** virtual machine capable of interpretation & JIT compilation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published