_
06638574f7
🔊 improve error message for this error with the missing math lib
2023-09-30 23:41:12 -05:00
_
24d576879b
make Debug print easier to read
2023-09-29 17:17:53 -05:00
_
35e62027e6
🐛 bug
2023-09-29 16:58:40 -05:00
_
e499d27dfc
🚧 wip: improving debugging
2023-09-29 16:55:02 -05:00
_
a460b5a932
♻️ refactor: hoist breakpoints out of State
2023-09-29 16:32:29 -05:00
_
a9e14d0f47
♻️ refactor: extract a single step method for State
2023-09-29 16:27:50 -05:00
_
4da634a2aa
🚧 wip: working on closures / upvalues
2023-09-28 01:31:23 -05:00
_
96c82c27c8
🐛 bug: fix long string loading and int adding
...
Long strings didn't work before because I hadn't implemented Lua's varint
decoding. It's an easy translation from the original C.
Int adding previously created a float because I always coerced to float.
Also an easy fix.
2023-09-28 00:27:05 -05:00
_
5649f38698
⭐ add OP_LEN and allow telling luac a file name
...
This make debugging easier, since the bytecodes will match between
a terminal and lunar_wave
2023-09-28 00:11:25 -05:00
_
d9bba9fc07
📝 doc: make it obvious that LWVM only handles bytecode for now
2023-09-27 14:12:29 -05:00
_
9811d265f6
⭐ for loops with integer counters counting up only
2023-09-26 22:34:47 -05:00
_
448ecc08d2
♻️ refactor: extract module
2023-09-26 16:48:01 -05:00
_
e12d749c7c
♻️ refactor: extract value module
2023-09-26 14:41:10 -05:00
_
bc15781457
🐛 bug: fix up printing to mostly match PUC Lua
...
The numbers are still off, since I didn't separate floats and ints yet
2023-09-26 13:46:01 -05:00
_
7b1fb49775
use luac in `main`
2023-09-26 13:33:59 -05:00
_
d9469b4440
♻️ refactor: invoke luac during tests so I don't have to version artifacts
2023-09-26 12:04:17 -05:00
_
1518781753
🚧 wip: got the closure test working
2023-09-25 00:23:53 -05:00
_
44d065d6dd
⭐ main now runs a luac file directly. No more hard-coded instructions.
2023-09-24 22:14:08 -05:00
_
c718ba67cf
⭐ make a luac loader sufficient for what I've implemented
2023-09-24 22:10:10 -05:00
_
81efebdda2
⭐ allow calling closures
2023-09-24 19:47:17 -05:00
_
89c3b6e0ca
♻️ refactor: split out tests and state module
2023-09-24 17:40:45 -05:00
_
8a2807f879
✅ another test
2023-09-24 17:34:38 -05:00
_
eb5a1947a1
✅ extract unit test
2023-09-24 16:57:12 -05:00
_
8c70469276
♻️ refactor
2023-09-24 16:34:28 -05:00
_
b07de4810d
Lua virtual machine in Rust, why the heck not.
2023-09-24 16:16:10 -05:00