Next:
About this document
Up:
Reference Manual of the
Previous:
Index
Contents
1 Introduction
2 Environment and Chunks
3 Types
4 The Language
4.1 Lexical Conventions
4.2 Coercion
4.3 Adjustment
4.4 Statements
4.4.1 Blocks
4.4.2 Assignment
4.4.3 Control Structures
4.4.4 Function Calls as Statements
4.4.5 Local Declarations
4.5 Expressions
4.5.1 Simple Expressions
4.5.2 Arithmetic Operators
4.5.3 Relational Operators
4.5.4 Logical Operators
4.5.5 Concatenation
4.5.6 Precedence
4.5.7 Table Constructors
4.5.8 Function Calls
4.6 Function Definitions
4.7 Fallbacks
4.8 Error Handling
5 The Application Program Interface
5.1 Executing Lua Code
5.2 Converting Values between C and Lua
5.3 Manipulating Lua Objects
5.4 Calling Lua Functions
5.5 C Functions
5.6 References to Lua Objects
6 Predefined Functions and Libraries
6.1 Predefined Functions
6.2 String Manipulation
Character Class:
Pattern Item:
Pattern:
6.3 Mathematical Functions
6.4 I/O Facilities
7 The Debugger Interface
7.1 Stack and Function Information
7.2 Manipulating Local Variables
7.3 Hooks
8 Some Examples
8.1 Data Structures
8.2 The Functions
next
and
nextvar
8.3 Manipulating Strings
8.4 Variable number of arguments
8.5 Persistence
8.6 Inheritance
8.7 Programming with Classes
8.8 Modules
8.9 A CFunction
8.10 Calling Lua Functions from C
9 Lua Stand-alone
Index
About this document ...
Next:
About this document
Up:
Reference Manual of the
Previous:
Index