Lua 5.0 Reference Manual Lua 5.0 Reference Manual2 – The Language 2.2 – Values and Types2.4 – Statements2.6 – Visibility Rules2.8 – Metatables2.10 – Coroutines 3.1 – States3.4 – Querying the Stack3.6 – Pushing Values onto the Stack3.8 – Userdata3.10 – Loading Lua Chunks3.12 – Manipulating Environments3.14 – Calling Functions3.16 – Defining C Functions3.18 – Registry 4 – The Debug Interface 4.2 – Manipulating Local Variables and Upvalues 5 – Standard Libraries 5.2 – Coroutine Manipulation5.4 – Table Manipulation5.6 – Input and Output Facilities5.8 – The Reflexive Debug Interface Acknowledgments