Study Lua source code