Mark Edgar wrote:
The "extension" API is available too. http://lua-users.org/wiki/ExtensionProposal
Thanks for the hint, it's definitely worth considering it for my purposes.