TorpedoSoftware/Luau-Devstral-24B-Instruct-v0.1
Text Generation • 24B • Updated • 384 • 4
url stringlengths 20 126 | language stringclasses 15
values | content stringlengths 25 225k | __index_level_0__ int64 0 19.6k |
|---|---|---|---|
https://luau.org/getting-started | en-us |
# Getting Started
#### On this page
* [Creating a script](#creating-a-script)
* [Type inference](#type-inference)
* [Annotations](#annotations)
* [Conclusions](#conclusions)
Luau is a fast, small, safe, gradually typed embeddable scripting language derived from Lua 5\.1\. Luau ships as a command line tool for runni... | 0 |
https://luau.org/why | en-us |
# Why Luau?
Around 2006, [Roblox](https://www.roblox.com) started using Lua 5\.1 as a scripting language for games. Over the years the runtime had to be tweaked to provide a safe, secure sandboxed environment; we gradually started accumulating small library changes and tweaks.
Over the course of the last few years, ... | 1 |
https://luau.org/syntax | en-us |
# Syntax
#### On this page
* [String literals](#string-literals)
* [Number literals](#number-literals)
* [Continue statement](#continue-statement)
* [Compound assignments](#compound-assignments)
* [Type annotations](#type-annotations)
* [If\-then\-else expressions](#if-then-else-expressions)
* [Generalized iteration... | 2 |
https://luau.org/lint | en-us |
# Linting
#### On this page
* [UnknownGlobal (1\)](#unknownglobal-1)
* [DeprecatedGlobal (2\)](#deprecatedglobal-2)
* [GlobalUsedAsLocal (3\)](#globalusedaslocal-3)
* [LocalShadow (4\)](#localshadow-4)
* [SameLineStatement (5\)](#samelinestatement-5)
* [MultiLineStatement (6\)](#multilinestatement-6)
* [LocalUnused ... | 3 |
https://luau.org/performance | en-us |
# Performance
#### On this page
* [Fast bytecode interpreter](#fast-bytecode-interpreter)
* [Optimizing compiler](#optimizing-compiler)
* [Epsilon\-overhead debugger](#epsilon-overhead-debugger)
* [Inline caching for table and global access](#inline-caching-for-table-and-global-access)
* [Importing global access cha... | 4 |
https://luau.org/sandbox | en-us |
# Sandboxing
#### On this page
* [Library](#library)
* [Environment](#environment)
* [\_\_gc](#__gc)
* [Interrupts](#interrupts)
Luau is safe to embed. Broadly speaking, this means that even in the face of untrusted (and in Roblox case, actively malicious) code, the language and the standard library don’t allow uns... | 5 |
https://luau.org/compatibility | en-us |
# Compatibility
#### On this page
* [Implementation limits](#implementation-limits)
* [Lua 5\.1](#lua-51)
* [Lua 5\.2](#lua-52)
* [Lua 5\.3](#lua-53)
* [Lua 5\.4](#lua-54)
* [Differences from Lua](#differences-from-lua)
Luau is based on Lua 5\.1, and as such incorporates all features of 5\.1, except for ones that h... | 6 |
https://luau.org/typecheck | en-us |
# Type checking
#### On this page
* [Type inference modes](#type-inference-modes)
* [Structural type system](#structural-type-system)
* [Builtin types](#builtin-types)
+ [unknown type](#unknown-type)
+ [never type](#never-type)
+ [any type](#any-type)
* [Function types](#function-types)
* [Table types](#table-typ... | 7 |
https://luau.org/profile | en-us |
# Profiling
#### On this page
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 ultimately, performance of their
code is in developers’ hands, and is a combination of good algorithm design and implementation that adher... | 8 |
https://luau.org/library | en-us |
# Library
#### On this page
* [Global functions](#global-functions)
* [math library](#math-library)
* [table library](#table-library)
* [string library](#string-library)
* [coroutine library](#coroutine-library)
* [bit32 library](#bit32-library)
* [utf8 library](#utf8-library)
* [os library](#os-library)
* [debug li... | 9 |
https://luau.org/grammar | en-us |
# 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](syntax).
```
chunk ::= block
block ::= {stat [';']} [laststat [';']]
stat ::= varlist '=' explist |
var compoundop exp |
functioncall |
'do' blo... | 10 |
The Roblox-Info-Dump dataset is a collection of public Roblox documentation from create.roblox.com/docs/ and luau.org. Roblox maintains the copyright on all content.