mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-02 01:40:54 +01:00
A fast, small, safe, gradually typed embeddable scripting language derived from Lua
## What's Changed? * Optimized the vector dot product by up to 24% * Allow for x/y/z/X/Y/Z vector field access by registering a `vector` metatable with an `__index` method * Fixed a bug preventing consistent recovery from parse errors in table types. * Optimized `k*n` and `k+n` when types are known * Allow fragment autocomplete to handle cases like the automatic insertion of parens, keywords, strings, etc., while maintaining a correct relative positioning ### New Solver * Added support for 'thread' and 'buffer' primitive types in Luau user-defined type functions * Allow for `nil` assignment to tables and classes with indexers --------- Co-authored-by: Aaron Weiss <aaronweiss@roblox.com> Co-authored-by: Andy Friesen <afriesen@roblox.com> Co-authored-by: Aviral Goel <agoel@roblox.com> Co-authored-by: Hunter Goldstein <hgoldstein@roblox.com> Co-authored-by: Varun Saini <vsaini@roblox.com> Co-authored-by: Vighnesh Vijay <vvijay@roblox.com> Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com> |
||
---|---|---|
Analysis | ||
Ast | ||
bench | ||
CLI | ||
CodeGen | ||
Common/include/Luau | ||
Compiler | ||
Config | ||
EqSat | ||
extern | ||
fuzz | ||
tests | ||
tools | ||
VM | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
CMakePresets.json | ||
LICENSE.txt | ||
lua_LICENSE.txt | ||
Makefile | ||
README.md | ||
Sources.cmake |
Luau
Luau is a fast, small, safe and 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.
This repository hosts documentation for the language as well as satellite materials.