lunar_wave/README.md

701 B

LunarWaveVM is a Lua 5.4 virtual machine written in Rust.

A star field with an orange crab-shaped nebula facing a dark purple moon with a bright magenta crescent.

LunarWaveVM relies on the PUC-Rio implementation of luac to compile bytecode.

cargo run -- --script test_vectors/fizz_buzz.lua

1
2
3       Fizz
4
5       Buzz
6       Fizz
7

...
44
45      FizzBuzz
46
47
48      Fizz
49
50      Buzz

Roadmap

  • Loading simple pre-compiled bytecode programs
  • Hash tables
  • Fizzbuzz
  • Closures
  • Garbage collection
  • Long strings
  • Using arrays internally for tables
  • Compiling Lua source code to bytecode