Lua 5.3 Reference ManualLua 5.3 Reference Manual by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes 1 – Introduction2 – Basic Concepts 2.1 – Values and Types2.2 – Environments and the Global Environment2.3 – Error Handling2.4 – Metatables and Metamethods2.5 – Garbage Collection2.6 – Coroutines 3 – The Language 3.1 – Lexical Conventions3.2 – Variables3.3 – Statements3.4 – Expressions3.5 – Visibility Rules 4 – The Application Program Interface 4.1 – The Stack4.2 – Stack Size4.3 – Valid and Acceptable Indices4.4 – C Closures4.5 – Registry4.6 – Error Handling in C4.7 – Handling Yields in C4.8 – Functions and Types4.9 – The Debug Interface 5 – The Auxiliary Library 5.1 – Functions and Types 6 – Standard Libraries 6.1 – Basic Functions6.2 – Coroutine Manipulation6.3 – Modules6.4 – String Manipulation6.5 – UTF-8 Support6.6 – Table Manipulation6.7 – Mathematical Functions6.8 – Input and Output Facilities6.9 – Operating System Facilities6.10 – The Debug Library 7 – Lua Standalone8 – Incompatibilities with the Previous Version 8.1 – Changes in the Language8.2 – Changes in the Libraries8.3 – Changes in the API 9 – The Complete Syntax of Lua