Lua 5.0 Reference Manual 1 – Introduction 2.1 – Lexical Conventions2.3 – Variables2.5 – Expressions2.7 – Error Handling2.9 – Garbage Collection 3 – The Application Program Interface 3.2 – The Stack and Indices3.5 – Getting Values from the Stack3.7 – Controlling Garbage Collection3.9 – Metatables3.11 – Manipulating Tables3.13 – Using Tables as Arrays3.15 – Protected Calls3.17 – Defining C Closures3.19 – Error Handling in C 4.1 – Stack and Function Information4.3 – Hooks 5.1 – Basic Functions5.3 – String Manipulation5.5 – Mathematical Functions5.7 – Operating System Facilities 6 – Lua Stand-aloneIncompatibilities with Previous Versions