3.3.2 – Chunks The unit of compilation of Lua is called a chunk. Syntactically, a chunk is simply a block: chunk ::= block Lua
lua_tonumber[-0, +0, –] lua_Number lua_tonumber (lua_State *L, int index); Equivalent to
3.4.8 – Precedence Operator precedence in Lua follows the table below, from lower to higher priority: or and < > <= >=
package.loaded A table used by require to control which modules are already loaded
io.write (···) Equivalent to io.output():write(···).
math.pi The value of π.
require (modname) Loads the given module. The function starts by looking into the package
math.tan (x) Returns the tangent of x (assumed to be in radians).
luaL_getsubtable[-0, +1, e] int luaL_getsubtable (lua_State *L, int idx, const char *fname); Ensures
lua_gethook[-0, +0, –] lua_Hook lua_gethook (lua_State *L); Returns the current hook function.
Page 13 of 36