From af49dc68be4a911b683dec2ce3dd195cac90ae1c Mon Sep 17 00:00:00 2001 From: _ <_@_> Date: Wed, 27 Sep 2023 14:06:54 -0500 Subject: [PATCH] :pencil: doc --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index f160d47..cb0edf4 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,29 @@ 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.](pictures/lunar%20wave%20crab%20nebula.jpeg) +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 - [x] Loading simple pre-compiled bytecode programs