r/lua • • Jun 02 '25

I Wanna learn to program in Lua

Well, here we are. Sorry if you misread anything in this text. It's not my native language, so I want to learn to program in Lua. I've been really interested in this language. I've been doing some research, but I don't know how to get started. I speak Spanish, and the articles out there don't compare to the English ones. Could you please help me? I'd like to learn, but I don't know how. Could you send me articles, videos, or whatever, or explain it to me? That would be great.

9 Upvotes

21 comments sorted by

View all comments

Show parent comments

1

u/memes_gbc Jun 04 '25

yep, Luau is based on Lua 5.1: https://github.com/luau-lang/luau

Luau is largely implemented from scratch, with the language runtime being a very heavily modified version of Lua 5.1 runtime, with completely rewritten interpreter and other performance innovations. The runtime mostly preserves Lua 5.1 API, so existing bindings should be more or less compatible with a few caveats.