Lua 5.0 Reference Manual
by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes
- Lua 5.0 Reference Manual
- 1 – Introduction
- 2 – The Language
- 3 – The Application Program Interface
- 3.1 – States
- 3.2 – The Stack and Indices
- 3.3 – Stack Manipulation
- 3.4 – Querying the Stack
- 3.5 – Getting Values from the Stack
- 3.6 – Pushing Values onto the Stack
- 3.7 – Controlling Garbage Collection
- 3.8 – Userdata
- 3.9 – Metatables
- 3.10 – Loading Lua Chunks
- 3.11 – Manipulating Tables
- 3.12 – Manipulating Environments
- 3.13 – Using Tables as Arrays
- 3.14 – Calling Functions
- 3.15 – Protected Calls
- 3.16 – Defining C Functions
- 3.17 – Defining C Closures
- 3.18 – Registry
- 3.19 – Error Handling in C
- 3.20 – Threads
- 4 – The Debug Interface
- 5 – Standard Libraries
- 6 – Lua Stand-alone
- Acknowledgments
- Incompatibilities with Previous Versions
- The Complete Syntax of Lua