Lua is an extension-based embeddable language. Lua itself is implemented as a stand-alone library, with the goal of being embedded in other applications. It does not have it’s own main(), it has to be called from a host program running in a different language (e.g. C).
Reference Manual: http://www.lua.org/manual/5.2/manual.html