书栈网 · BookStack 本次搜索耗时 0.028 秒,为您找到 11 个相关结果.
  • Why Luau?

    Why Luau? Complete rewrite? Why Luau? Around 2006, Roblox started using Lua 5.1 as a scripting language for games. Over the years the runtime had to be tweaked to provide a sa...
  • Getting Started

    Getting Started Creating a script Type inference Annotations Conclusions Getting Started To get started with Luau you need to use luau command line binary to run your code ...
  • Performance

    Performance Fast bytecode interpreter Optimizing compiler Epsilon-overhead debugger Inline caching for table and global access Importing global access chains Fast method calls...
  • Profiling

    Profiling Profiling 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 ultimatel...
  • Compatibility

    Compatibility Implementation limits Lua 5.1 Lua 5.2 Lua 5.3 Lua 5.4 Differences from Lua Compatibility Luau is based on Lua 5.1, and as such incorporates all features of 5...
  • Syntax

    Syntax String literals Number literals Continue statement Compound assignments Type annotations If-then-else expressions Syntax Luau uses the baseline syntax of Lua 5.1 . ...
  • Sandboxing

    Sandboxing Library Environment __gc Interrupts Sandboxing Luau is safe to embed. Broadly speaking, this means that even in the face of untrusted (and in Roblox case, active...
  • Linting

    Linting UnknownGlobal (1) DeprecatedGlobal (2) GlobalUsedAsLocal (3) LocalShadow (4) SameLineStatement (5) MultiLineStatement (6) LocalUnused (7) FunctionUnused (8) ImportU...
  • Typechecking

    Type checking Type inference modes Structural type system Primitive types Function types Table types Unsealed tables Sealed tables Generic tables Table indexers Generics ...
  • Grammar

    Grammar 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 . chunk = ...