You can read the Lua 5 book online at http://www.lua.org/pil/