Why Luau? Complete rewrite? Why Luau? Around 2006, Roblox started using Lua 5.1 as a scripting language for games. Over the years the runtime had to be tweaked to provide a sa...
Getting Started Creating a script Type inference Annotations Conclusions Getting Started To get started with Luau you need to use luau command line binary to run your code ...
Performance Fast bytecode interpreter Optimizing compiler Epsilon-overhead debugger Inline caching for table and global access Importing global access chains Fast method calls...
Profiling Profiling One of main goals of Luau is to enable high performance code. To help with that goal, we are relentlessly optimizing the compiler and runtime - but ultimatel...
Compatibility Implementation limits Lua 5.1 Lua 5.2 Lua 5.3 Lua 5.4 Differences from Lua Compatibility Luau is based on Lua 5.1, and as such incorporates all features of 5...
Sandboxing Library Environment __gc Interrupts Sandboxing Luau is safe to embed. Broadly speaking, this means that even in the face of untrusted (and in Roblox case, active...
Type checking Type inference modes Structural type system Primitive types Function types Table types Unsealed tables Sealed tables Generic tables Table indexers Generics ...
Grammar Grammar This is the complete syntax grammar for Luau in EBNF. More information about the terminal nodes String and Number is available in the syntax section . chunk = ...