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.
The numbers are still off, since I didn't separate floats and ints yet