Lua
Link
- Lua is a lightweight, embeddable scripting language written in [C](…/C (programming language)/) and released under the MIT license.
- It is used in e.g. the following “host” applications:
- Neovim
- MUSHclient
- Mudlet
- [World of Warcraft](…/World of Warcraft/)
- Roblox
- [Adobe Lightroom](…/Adobe Lightroom/)
- VLC
Resources
- Download (source code)
- Download (binaries)
- FAQ663
- Demo
- Lua Programming Gems - e-book from 2008
- lua-users wiki
- LuaRocks - package manager
- LewisJEllis/awesome-lua - a curated list of quality Lua packages and resources
FAQ
Dumping table contents
function dump(t, indent)
indent = indent or 0
for k, v in pairs(t) do
print(string.rep(" ", indent) .. tostring(k) .. ": ")
if type(v) == "table" then
dump(v, indent + 1)
else
print(string.rep(" ", indent + 1) .. tostring(v))
end
end
end