LUA Implementation Limitations & Notes

From SkyCorp Global
Revision as of 05:44, 21 December 2017 by SkyCorp (talk | contribs)
Jump to navigation Jump to search

Underworld's LUA VM is a modified version of the 2009 lufacode project. It implements a small subset of the LUA 5.1 specification.

There's a lot of caveats to be aware of when writing LUA code for it:

  • Most LUA library functions are not implemented, including pairs. I've implemented a quick table.keys functionas a workaround (see the clone utility function that uses it)