LunarWaveVM is a Lua 5.4 virtual machine written in Rust.
 
 
Go to file
_ c50c16b9db 🐛 bug: fix io.write and take off the `max_iters` restriction
The math is lining up with PUC Lua and LuaJIT. Now I can actually check
the speed.
2023-10-01 01:36:40 -05:00
pictures 📝 doc: roadmap 2023-09-27 13:58:37 -05:00
src 🐛 bug: fix io.write and take off the `max_iters` restriction 2023-10-01 01:36:40 -05:00
test_vectors 🐛 bug: fix OP_TEST ignoring `k` 2023-10-01 01:33:47 -05:00
.gitignore another test 2023-09-24 17:34:38 -05:00
COPYING.txt 📝 doc: license 2023-09-27 14:03:21 -05:00
Cargo.lock ♻️ refactor: invoke luac during tests so I don't have to version artifacts 2023-09-26 12:04:17 -05:00
Cargo.toml ♻️ refactor: invoke luac during tests so I don't have to version artifacts 2023-09-26 12:04:17 -05:00
README.md 🐛 bug: fix some stuff in calling native functions 2023-10-01 01:06:15 -05:00

README.md

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.

luac5.4 -o - test_vectors/fizz_buzz.lua | cargo run -- --pipe-bytecode

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
  • Error handling
  • Garbage collection
  • Long strings
  • Using arrays internally for tables
  • Compiling Lua source code to bytecode