I love Lua, but trying to make it work standalone is working against its design goals --kinda like trying to use Javascript standalone.  I push anyone with such ideas to really, really think about using Python instead.