Skip to content

KaviiSuri/bm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BM

This is a basic virtual machine written in rust. This project was done by taking guidance from this playlist.

Quick Start

$ make examples
$ ./target/debug/bme -i ./examples/fib.bm -l 69

Components

basm

Assembly language for the virtual machine. For examples see ./examples/ folder.

bme

BM emulator. Takes in a .bm files generated by basm and runs it.

dibasm

Disassembler for the .bm files genereated by basm.

Primary Motivation

  • Learning Rust and understanding how to build actual stuff with it.
  • Learning how to implement abstract idea in solid code.
  • Getting comfortable with the concept of virtual machines.
  • Comparing how development in C contrasts with it in rust.

About

A basic virtual machine implementation with it's own binary format and assembly, as a learning experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors