Measures Concepts
GitHub icon

luau

luau - Programming language

< >

luau is a programming language created in 2020.

#2368on PLDB 4Years 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.


Example from the web:
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

Language features

Feature Supported Token Example
Comments ✓
-- A comment
Line Comments ✓ --
-- A comment
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout