Luau

Luau is an open-source dialect of Lua used by Roblox as a scripting language. The source code of the language is available under the Expat license. 
Written entirely from scratch through C++17 instead of ANSI C, Luau introduces gradual typing support and performance optimizations to Lua. It also aims for backward compatibility with Lua 5.1, adding features from Lua's later versions that don't conflict with existing language.
==History==
On August 27, 2019, Roblox switched its scripting language from Lua 5.1.4 to Luau.
Since November 3, 2021, Luau became open source starting from version 0.501. Subsequent versions continue to be released under the official GitHub repository. The RFC process used to approve user-facing changes to the language and its core libraries were also opened to the public.
On September 13, 2024, a rework of the type system and solver was introduced as a Beta feature. Among the new features are type functions and the ability to mark table properties as read-only.
==Type checking==
Luau supports gradual typing, which allows type checking for scripts. Type checking is on by default (--!nonstrict). Adding the comment --!strict in a script's source code enables full type checking, while the comment --!nocheck disables type checking completely for that script. Roblox supports classes and data types for type checking as well as module interactions.
==Native code generation==
Besides bytecode, Luau can compile scripts with --!native into native code. Native code generation was announced on August 31, 2023 as a studio beta feature.https://devforum.roblox.com/t/luau-native-code-generation-preview-studio-beta/2572587
==Mascot==
Luau's mascot, Hina, was first introduced in a July 2024 post and is based off the endangered Hawaiian monk seal. It was named after Hina, the Hawaiian goddess of the moon.
==References==
==External links==
*The Luau website
*Luau on GitHub
*Luau on Roblox Creator Documentation
Category:Lua
Category:Roblox software
ru:Luau