Lua 5.2 Reference Manual
The reference manual is the official definition of the Lua language. For a complete introduction to Lua programming, see the book Programming in Lua.Copyright © 2010 Lua.org, PUC-Rio. Freely available under the terms of the Lua license.
Contents
- 1 - Introduction
- 2 - The Language
- 2.1 - Lexical Conventions
- 2.2 - Values and Types
- 2.3 - Variables
- 2.4 - Statements
- 2.5 - Expressions
- 2.6 - Visibility Rules
- 2.7 - Error Handling
- 2.8 - Metatables
- 2.9 - Environments
- 2.10 - Garbage Collection
- 2.11 - Coroutines
- 3 - The Application Program Interface
- 3.1 - The Stack
- 3.2 - Stack Size
- 3.3 - Pseudo-Indices
- 3.4 - C Closures
- 3.5 - Registry
- 3.6 - Error Handling in C
- 3.7 - Handling Yields in C
- 3.8 - Functions and Types
- 3.9 - The Debug Interface
- 4 - The Auxiliary Library
- 5 - Standard Libraries
- 5.1 - Basic Functions
- 5.2 - Coroutine Manipulation
- 5.3 - Modules
- 5.4 - String Manipulation
- 5.5 - Table Manipulation
- 5.6 - Mathematical Functions
- 5.7 - Bitwise operations
- 5.8 - Input and Output Facilities
- 5.9 - Operating System Facilities
- 5.10 - The Debug Library
- 6 - Lua Stand-alone
- 7 - Incompatibilities with the Previous Version
- 8 - The Complete Syntax of Lua
Index
Last update: Wed Jan 13 15:31:47 BRST 2010