Reference manual
Reference Manual of the Programming Language Lua 5.0 (alpha)
[
top
|
index
|
ps
|
pdf
|
old versions
]
Copyright
© 2002 Tecgraf, PUC-Rio. All rights reserved.
1 - Introduction
2 - Lua Concepts
2.1 - Environment and Chunks
2.2 - Table of Globals
2.3 - Values and Types
2.4 - Coercion
2.5 - Variables
2.6 - Garbage Collection
3 - The Language
3.1 - Lexical Conventions
3.2 - Variables
3.3 - Statements
3.4 - Expressions
3.5 - Visibility Rules
3.6 - Error Handling
3.7 - Metatables
4 - The Application Program Interface
4.1 - States
4.2 - Threads
4.3 - The Stack and Indices
4.4 - Stack Manipulation
4.5 - Querying the Stack
4.6 - Getting Values from the Stack
4.7 - Pushing Values onto the Stack
4.8 - Controlling Garbage Collection
4.9 - Userdata
4.10 - Metatables
4.11 - Loading Lua Chunks
4.12 - Manipulating Tables
4.13 - Manipulating Global Variables
4.14 - Using Tables as Arrays
4.15 - Calling Functions
4.16 - Protected Calls
4.17 - Defining C Functions
4.18 - Defining C Closures
5 - The Debug Interface
5.1 - Stack and Function Information
5.2 - Manipulating Local Variables
5.3 - Hooks
6 - Standard Libraries
6.1 - Basic Functions
6.2 - String Manipulation
6.3 - Table Manipulation
6.4 - Mathematical Functions
6.5 - Input and Output Facilities
6.6 - Operating System Facilities
6.7 - The Reflexive Debug Interface
7 - Lua Stand-alone
Acknowledgments
Incompatibilities with Previous Versions
The Complete Syntax of Lua
Index
Last update: Wed Aug 14 11:54:30 EST 2002