debug.traceback ([thread,] [message [, level]]) If message is present but is neither a string nor nil, this function returns message without further
_VERSION A global variable (not a function) that holds a string containing the running Lua version. The current value of this variable is "Lua 5.3".
tonumber (e [, base]) When called with no base, tonumber tries to convert its argument to a number. If the argument is already a number or a string convertible
io.read (···) Equivalent to io.input():read(···).
lua_error[-1, +0, v] int lua_error (lua_State *L); Generates a Lua error, using the value at the
luaL_loadfilex[-0, +1, m] int luaL_loadfilex (lua_State *L, const char *filename,
3.3.7 – Local Declarations Local variables can be declared anywhere inside a block. The declaration can include an initial assignment: stat ::= local
print (···)stdouttostringprint
luaL_checkstack[-0, +0, v] void luaL_checkstack (lua_State *L, int sz, const char *msg); Grows
debug.getregistry () Returns the registry table (see §4.5).
Page 3 of 36