Libx Lua Documentation

    Lua 5.5.1 Latest
    Aug 3, 2026
    English Current 日本語

    Documentation

    • Overview
      • About Lua 5.5
      • Installing Lua
      • Lua license
      • Introduction
    • Language
      • Basic concepts: values and types
      • Scopes, variables and environments
      • Error handling
      • Metatables and metamethods
      • Garbage collection
      • Coroutines
      • The language: lexical conventions
      • Variables
      • Statements
      • Expressions
      • Complete syntax of Lua
    • C-api
      • C API overview
      • The stack
      • C closures
      • Registry
      • Error handling in C
      • Handling yields in C
      • C API functions and types: absindex–compare
      • C API functions and types: concat–gc
      • C API functions and types: getallocf–getiuservalue
      • C API functions and types: insert–load
      • C API functions and types: newstate–pcallk
      • C API functions and types: pop–pushvfstring
      • C API functions and types: rawequal–rotate
      • C API functions and types: setallocf–stringtonumber
      • C API functions and types: toboolean–typename
      • C API functions and types: Unsigned–yieldk
      • The debug interface
    • Auxiliary-library
      • Auxiliary library overview
      • Auxiliary functions and types: addchar–buffsub
      • Auxiliary functions and types: callmeta–checkversion
      • Auxiliary functions and types: dofile–loadstring
      • Auxiliary functions and types: makeseed–pushresultsize
      • Auxiliary functions and types: ref–where
    • Standard-library
      • Standard libraries overview
      • Loading libraries in C code
      • Basic functions
      • Coroutine manipulation
      • Modules
      • String manipulation
      • UTF-8 support
      • Table manipulation
      • Mathematical functions
      • Input and output facilities
      • Operating system facilities
      • The debug library
    • Tools
      • Lua standalone
      • lua command
      • luac command
    • Migration-and-known-issues
      • Changes since Lua 5.4
      • Incompatibilities with Lua 5.4
      • Known issues in Lua 5.5.1

    Document source

    Source
    Lua 5.5.1 Documentation
    Upstream version
    Lua 5.5.1
    Document status
    Canonical language
    Open original

    Lua 5.5.1

    No bugs have been reported.

    Previous
    Incompatibilities with Lua 5.4

    Contribute

    Help us improve the documentation by contributing to the project

    Contribute on GitHub

    This document is "Lua 5.5.1 Documentation" by Lua.org, PUC-Rio, formatted for libx.

    Original / MITLicense