Commit Graph

11 Commits (e87265373c70251df2c3a7d1c9c950d018437faf)

Author SHA1 Message Date
_ e87265373c 🐛 bug: shrank the Value size to 16 bytes
This is a little pre-mature, since it's still in the "make it work"
phase of "make it work, make it fast, make it pretty".

But it was bugging me, and I'd have to ditch the raw strings and vecs
some day to add a GC anyway.
2023-09-26 14:10:57 -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
_ 0d88653c21 the nested functions thing is working, though I wish I didn't have to use recursion 2023-09-25 03:05:00 -05:00
_ 4fd412b415 🚧 wip: I'm not handling nested functions in luac files properly
will fix soon
2023-09-25 01:57:57 -05:00
_ 1518781753 🚧 wip: got the closure test working 2023-09-25 00:23:53 -05:00
_ 543dab360b ♻️ refactor: trying to fix OP_RETURN so it can close over values 2023-09-24 22:49:00 -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
_ a2c91757cf 🚨 clippy pass 2023-09-24 17:42:56 -05:00
_ 89c3b6e0ca ♻️ refactor: split out tests and state module 2023-09-24 17:40:45 -05:00