Embed Luau as a scripting engine in your C++ game so users can write custom scripts without recompiling the game.
Use the Luau type checker to catch type errors in your Roblox game scripts before publishing them.
Run Luau scripts from the command line for game tooling or automation tasks on macOS or Linux.
Embedding Luau in C++ requires building from source with CMake, for the standalone CLI, install prebuilt binaries via a package manager.
Luau is a programming language created by Roblox. It started as a modified version of Lua, an older scripting language commonly used in games, and has been developed further with additional features and performance improvements. The most notable addition is a type system, which allows developers to annotate their code with information about what kinds of data a variable holds, and the language's tools can then catch mistakes automatically. The primary audience is game developers, particularly those building on the Roblox platform, where Luau is the main scripting language. However, the project has also been adopted by developers of other games, including several titles mentioned in the README. Roblox open-sourced the implementation so that the broader community and other companies could use and contribute to it. Luau is described as embeddable, which means software engineers can build it into their own applications as a scripting engine. A developer writing a game engine or application in C++ could include Luau so that users can write scripts that customize or extend the application without needing to recompile it. The README includes code examples and instructions for doing this. For people who just want to run Luau scripts, the project ships two command-line tools. One lets you run Luau scripts or experiment interactively. The other checks your code for type errors and style problems without running it, similar to a spell checker for code. Both tools can be installed through package managers on macOS and several Linux distributions. The project is released under the MIT license, which allows broad use including in commercial products. Documentation lives on a separate website rather than in the repository. Language design changes go through a public RFC process in a separate repository.
← luau-lang on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.