Commit Graph

8 Commits (4e9f9a74c5f6e8c70c8adc22b46e821e060d207e)

Author SHA1 Message Date
_ bebc96916b allow Lua to call native Rust functions
And Value::BogusPrint is gone. So the only Bogus remaining is closures.
2023-09-27 01:46:53 -05:00
_ fcfd9397ff 🐛 bug: switch to RefCell so some more of the tables tests will pass 2023-09-26 22:03:37 -05:00
_ 0d5e1098bc test: found a bug in my tables impl 2023-09-26 20:47:47 -05:00
_ 9d29aeb43b tables are working okay
Still missing a lot of stuff. And I'm pretty sure the Rc handling code
is totally wrong.

And they don't have the Lua 5.0 optimization of an internal array,
but that's probably easy to put in.
2023-09-26 20:31:00 -05:00
_ 72b2d6e656 can create an empty table 2023-09-26 15:49:12 -05:00
_ 8d80ebc052 add integers 2023-09-26 14:23: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
_ b07de4810d Lua virtual machine in Rust, why the heck not. 2023-09-24 16:16:10 -05:00