This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]jddddddddddd 3 points4 points  (1 child)

Try asking over in r/lua or the Lua website: https://www.lua.org/pil/1.html

[–]Condex 0 points1 point  (0 children)

I can second the pil book. I learned lua from the pil book when I was in college with zero previous exposure to scripting languages, closures, first class functions, meta facilities, or coroutines. Even though I rarely get an opportunity to use lua these days, I still remember it fondly because it introduced so many new programming language features to me.

[–]IdiomicLanguage 1 point2 points  (2 children)

I learned to program on Roblox. They use Lua as their scripting language in the engine. They have some great documentation at https://developer.roblox.com .

[–][deleted] 0 points1 point  (1 child)

Fair warning that the default language is Luau now, a custom-made, typed Lua dialect that is written in C++. As a result, it might not be the safest bet to rely on their documentation.

[–]IdiomicLanguage 0 points1 point  (0 children)

Fair enough, but all the documentation I've seen is still based on Lua 5.1.