Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

luau

< >

luau is a programming language created in 2020.

#2115on PLDB 4Years Old
Homepage

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 Example Token
Comments -- A comment
Line Comments -- A comment --
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0