#vm #64-bit #language-vm

app wavm-cli

A 64 bit register based virtual machine

1 unstable release

0.1.0 Feb 28, 2021

#239 in Emulators

GPL-3.0 license

51KB
1.5K SLoC

WAVM

WAVM, Wait, another virtual machine ?, is a register based 64 bits virtual machine written in Rust.

It relies on 32 registers and 31 opcodes that permit to do various things.

It contains both a compiler to build bytecode for assembly and a virtual machine to run the produced bytecode.

CI

Build-test

Installation

You can either:

  • Build from source:
$ git clone git@github.com:Wafelack/wavm.git
$ cd wavm
$ cargo test
$ cargo build --release
  • Install from crates.io: cargo install wavm-cli.

Example

Staying classing, here an Hello, World !

ascii %0 'Hello, World !'
dsp %0

Documentation

Documentation is available in the docs folder or on the website.

Licensing

WAVM is licensed under the GNU General Public License version 3.0.

Dependencies

~1.5MB
~24K SLoC