luau is a programming language created in 2020.
| #2185on PLDB | 6Years Old |
Luau is a fast, small, safe, gradually typed embeddable scripting language derived from Lua. It is used by Roblox game developers to write game code, as well as by Roblox engineers to implement large parts of the user-facing application code as well as portions of the editor (Roblox Studio) as plugins.
type Point = { x: number, y: number }
local p = { x = 1, y = 2 }
print(p.x, p.y)
-- print(p.z) results in a type error| Feature | Supported | Example | Token |
|---|---|---|---|
| Comments | ✓ | -- A comment | |
| Line Comments | ✓ | -- A comment | -- |
| Semantic Indentation | X |