🔤Lua
Also known as Lua Language, Lua Script
A small, fast script language made to live inside games and apps.
Think of it like
It is like a tiny brain you put in a toy. It teaches the toy new tricks.
Example
Why it matters
It lets people change a program without rebuilding it. Many games and tools use it for mods and settings.
Definition
Example code
lua
for i = 1, 3 do
print("Hello " .. i)
endCommon mistake
Key takeaways
- 1Small. Fits inside other programs.
- 2Embeddable. The host app runs it.
- 3Starts at 1. Lists count from one.