기본 카테고리
Programming in Lua
졸리운_곰
2007. 10. 1. 14:25
Programming in Lua
This is an online version of the first edition of the book
Programming in Lua
by Roberto Ierusalimschy
Lua.org, December 2003
ISBN 85-903798-1-7
The book is a detailed and authoritative introduction to all aspects of Lua programming, by Lua's chief architect. The first edition was aimed at Lua 5.0.
If you like the online version, please consider buying a copy of the second edition, which updates the text to Lua 5.1 and brings substantial new material.
For the official definition of the Lua language, see the reference manual.
Copyright © 2003-2004 Roberto Ierusalimschy. All rights reserved.
This online book is for personal use only. It cannot be copied to other web sites or further distributed in any form.
Contents
- Preface
- Part I. The Language
- 1 Getting Started
- 2 Types and Values
- 3 Expressions
- 4 Statements
- 5 Functions
- 6 More about Functions
- 7 Iterators and the Generic for
- 8 Compilation, Execution, and Errors
- 9 Coroutines
- 10 Complete Examples
- Part II. Tables and Objects
- 11 Data Structures
- 12 Data Files and Persistence
- 13 Metatables and Metamethods
- 14 The Environment
- 15 Packages
- 16 Object-Oriented Programming
- 17 Weak Tables
- Part III. The Standard Libraries
- 18 The Mathematical Library
- 19 The Table Library
- 20 The String Library
- 21 The I/O Library
- 22 The Operating System Library
- 23 The Debug Library
- Part IV. The C API
- 24 An Overview of the C API
- 25 Extending your Application
- 26 Calling C from Lua
- 27 Techniques for Writing C Functions
- 28 User-Defined Types in C
- 29 Managing Resources
Last update: Wed May 9 11:40:44 BRT 2007
