Dataset Viewer
Auto-converted to Parquet Duplicate
source
large_stringlengths
17
66
seed
large_stringclasses
1 value
crawled_at
timestamp[us, tz=UTC]date
2026-08-22 07:09:17
2026-08-22 07:09:24
content
large_stringlengths
52
88.2k
tokens
int64
16
21.9k
content_hash
large_stringlengths
64
64
https://luau.org/
https://luau.org/
2026-08-22T07:09:17.518000
![Hina, a Hawaiian monk seal and the official mascot of the Luau language](/_astro/mascot.iwZjauS8_1jdjiU.webp) # Luau Luau (lowercase *u*, /ˈlu.aʊ/) is a small, fast, and embeddable programming language based on Lua with a gradual type system. [Get Started](/getting-started/) [News](/news/) [Try Luau online](ht...
535
4cd24aa14632263b6afa4f2bfbe9d6ea8011959c6730db82b36251e3ebee7c78
https://luau.org/getting-started
https://luau.org/
2026-08-22T07:09:17.959000
# An introduction to Luau Luau is a fast, small, safe, gradually typed embeddable scripting language derived from Lua 5.1. Luau ships as a command line tool for running, analyzing, and linting your Luau scripts, and is also integrated with Roblox Studio. Roblox developers should also visit our [Creator Docs Luau Secti...
875
9140b5fdf10fadf1b20904bab2d96fdcd5089507ac0061a8bd5e410e921a5a48
https://luau.org/syntax
https://luau.org/
2026-08-22T07:09:17.986000
# Luau syntax by example Luau uses the baseline [syntax of Lua 5.1](https://www.lua.org/manual/5.1/manual.html#2). For detailed documentation, please refer to the Lua manual, this is an example: Note that future versions of Lua extend the Lua 5.1 syntax with more features; Luau does support string literal extensions ...
2,360
07a0effa848dcdac138dce473ce6f32448ea8598ca812cc8a6799ae348b24719
https://luau.org/compatibility
https://luau.org/
2026-08-22T07:09:18.026000
# Compatibility with Lua Luau is based on Lua 5.1, and as such incorporates all features of 5.1, except for ones that had to be taken out due to sandboxing limitations. Because of backwards compatibility constraints, we don’t remove features deprecated by later versions (e.g. we still support `getfenv`/`setfenv`). Lat...
3,109
3b9e6eb4b3d219541267dd2ba72e7c20a6acbcd328e16a6230316e200a931332
https://luau.org/types/type-functions
https://luau.org/
2026-08-22T07:09:18.188000
# Type Functions Type functions are functions that run during analysis time and operate on types, instead of runtime values. They can use the [types](../../types-library) library to transform existing types or create new ones. Here’s a simplified implementation of the builtin type function `keyof`. It takes a table t...
231
4a6a246cf836dec53a3f9bc02c3cd27416904b16730e68a7c98d2540188fb8c6
https://luau.org/news
https://luau.org/
2026-08-22T07:09:18.210000
# News The latest news from the Luau team! Stay up to date with new features, performance improvements, and language updates. [Luau Recap for 2025: Runtime Posted December 19, 2025](/news/2025-12-19-luau-recap-runtime-2025)[Recap: July 2024 Posted July 23, 2024](/news/2024-07-23-luau-recap-july-2024)[Recap: October...
1,351
fecd0cc7be6a9072b53d2fcea199fb19c5ce0ef1b8ad4d27f8788205efe3629d
https://luau.org/types/type-refinements
https://luau.org/
2026-08-22T07:09:18.282000
# Type Refinements When we check the type of any lvalue (a global, a local, or a property), what we’re doing is we’re refining the type, hence “type refinement.” The support for this is arbitrarily complex, so go at it! Here are all the ways you can refine: 1. Truthy test: `if x then` will refine `x` to be truthy. 2...
268
830f33274547e72242a858fb87b7d5ec1e2faad2d82afe2a245819fa90f7a82a
https://luau.org/types
https://luau.org/
2026-08-22T07:09:18.292000
# An introduction to Luau types Luau supports a gradual type system through the use of type annotations and type inference. These types are used to provide warnings, errors, and suggestions for our developers. Type checking helps you find bugs early - while you’re writing code - rather than discovering when your progr...
827
c7827fb23ee413fd22405976654c95af7e1775d38b0eb90fbb51dd157e3494c8
https://luau.org/why
https://luau.org/
2026-08-22T07:09:18.385000
# 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, in...
622
bd9deccc783d8888a77bdc060f9e07284936c90d09b3f979ed450afeb4f69224
https://luau.org/brand
https://luau.org/
2026-08-22T07:09:18.661000
# Brand Guidelines We want developers to build tools, libraries, runtimes, integrations, and other projects for (or with) Luau, to be able to clearly describe those projects as working with Luau. At the same time, people should be able to easily distinguish projects that are part of Luau itself from independent projec...
923
09a216c8712db555603e374cb687b8d7be7aa61e0bd4bd5f888df82dacec5248
https://luau.org/lint
https://luau.org/
2026-08-22T07:09:18.683000
# Luau Lints Luau comes with a set of linting passes, that help make sure that the code is correct and consistent. Unlike the type checker, that models the behavior of the code thoroughly and points toward type mismatches that are likely to result in runtime errors, the linter is more opinionated and produces warnings...
2,745
b7a52a01b07b39988543d300aab1e99d6450d99812404c656ba5c715e1fdd018
https://luau.org/performance
https://luau.org/
2026-08-22T07:09:18.709000
# How we make Luau fast One of main goals of Luau is to enable high performance code, with gameplay code being the main use case. This can be viewed as two separate goals: * Make idiomatic code that wasn’t tuned faster * Enable even higher performance through careful tuning Both of these goals are important - it’s i...
6,321
2e3e351f585e9fa1ef4e7dc20d439bb9b2bbdbea0968f27a6ab9d7433fc7b8d7
https://luau.org/sandbox
https://luau.org/
2026-08-22T07:09:18.838000
# Embedding a sandboxed Luau virtual machine 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 unsafe access to the underlying system, and don’t have known bugs that allow escaping out ...
1,772
c9f40a6d7c51ea1fd3df29b9f290bc7f6df82d105eaccad792660194bcf65c55
https://luau.org/guides/profile
https://luau.org/
2026-08-22T07:09:18.849000
# Profiling your Luau code 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 adheres to ...
1,142
ea7e8954c8958e09f1807e1fc1bc1f4d669c585233a3483f6f4b0c3e6c3d8b77
https://luau.org/types/basic-types
https://luau.org/
2026-08-22T07:09:18.921000
# Primitives and Simple Types ## Builtin types The Luau VM supports 10 primitive types: 1. `nil` 2. `string` 3. `number` 4. `boolean` 5. `table` 6. `function` 7. `thread` 8. `userdata` 9. `vector` 10. `buffer` Most of these can be specified by their name and written directly in type annotations: Some types have sp...
918
0bffc58c75231bb6cb7f7cc9c156d5b0f482faa9d29e8918d702d07415813a8c
https://luau.org/types/tables
https://luau.org/
2026-08-22T07:09:18.931000
# Table Types From the type checker perspective, each table can be in one of three states. They are: `unsealed table`, `sealed table`, and `generic table`. This is intended to represent how the table’s type is allowed to change. ### Unsealed tables An unsealed table is a table which supports adding new properties, w...
454
6aecb6a9ce8d4b112416b6019521e01c0c36df7afd6a7c41bfb5361e1679711f
https://luau.org/types/unions-and-intersections
https://luau.org/
2026-08-22T07:09:19.035000
# Union and Intersection Types ## Union types A union type represents *one of* the types in this set. If you try to pass a union onto another thing that expects a *more specific* type, it will fail. For example, what if this `string | number` was passed into something that expects `number`, but the passed in value w...
327
29d45b15298e685b887b431cfbf123705973bc514e11e3abaaa5633caea45790
https://luau.org/types/roblox-types
https://luau.org/
2026-08-22T07:09:19.114000
# Foreign Types from the Embedder Roblox supports a rich set of classes and data types, [documented here](https://developer.roblox.com/en-us/api-reference). All of them are readily available for the type checker to use by their name (e.g. `Part` or `RaycastResult`). When one type inherits from another type, the type ...
220
f556a7d92df211cd4145756786b970639855e69654ec486067e71856ba0f700e
https://luau.org/types/generics
https://luau.org/
2026-08-22T07:09:19.305000
# Generics and Polymorphism The type inference engine was built from the ground up to recognize generics. A generic is simply a type parameter in which another type could be slotted in. It’s extremely useful because it allows the type inference engine to remember what the type actually is, unlike `any`. ## Generic fu...
329
2c5b6def1542bf343d1e940dcbf5552f5c42945e9b266af10b96db78573c1ca1
https://luau.org/types/object-oriented-programs
https://luau.org/
2026-08-22T07:09:19.321000
# Object-Oriented Programming ## Adding types for faux object oriented programs One common pattern we see with existing Lua/Luau code is the following object-oriented code. While Luau is capable of inferring a decent chunk of this code, it cannot pin down on the types of `self` when it spans multiple methods. For ex...
524
d969ee68fb99f84f9a6594ba9010fdceb2e8b2a912546bb7b59b77599ea38c1e
https://luau.org/types/considerations
https://luau.org/
2026-08-22T07:09:19.476000
# Additional Considerations ## Module interactions Let’s say that we have two modules, `Foo` and `Bar`. Luau will try to resolve the paths if it can find any `require` in any scripts. In this case, when you say `./bar`, Luau will resolve it as: relative to this script, go to my sibling script named Bar. There are so...
145
baef40ddd1f529bac9c0efda866830e806d4d5d0d37ef2aead7aae5ab730a952
https://luau.org/library
https://luau.org/
2026-08-22T07:09:19.868000
# Standard Library Luau comes equipped with a standard library of functions designed to manipulate the built-in data types. Note that the library is relatively minimal and doesn’t expose ways for scripts to interact with the host environment - it’s expected that embedding applications provide extra functionality on to...
11,499
e54397bfeef7f8580f3d5653a15ec7eb0400ae37162ebd5f5388a38e159ddc73
https://luau.org/types-library
https://luau.org/
2026-08-22T07:09:19.962000
# Type Function Library The `types` library is used to create and transform types, and can only be used within [type functions](../types/type-functions). ### `types` library properties ``` types.any ``` The [any](../types/basic-types#any-type) `type`. ``` types.unknown ``` The [unknown](../types/basic-types#unkno...
2,488
c90526f1b1b446a37acbf6a214341f65479c4b92edf63fd2ae29d9089983a0ba
https://luau.org/attributes
https://luau.org/
2026-08-22T07:09:20.008000
# Attributes Luau supports a set of built-in attributes that can be applied to function declarations to adjust the behavior of the compiler, type analysis, or runtime. This page documents all available attributes and their parameters. Attributes are not user-definable. For an overview of attribute syntax, see the [sy...
475
e3f6d02911465c14b432bb6797e4fce4e3dbc49a728a670b4ee1ad9e482a19ef
https://luau.org/grammar
https://luau.org/
2026-08-22T07:09:20.061000
# Syntax 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 |...
1,203
267ccf636d48f10839796ce7869f976c0ebaf50f6fbf973d08b37dcea1b6d71e
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
42