Lua Programming in Lua

second edition · first edition · online version · amazon · e-book

This book is a detailed and authoritative introduction to all aspects of Lua programming, by Lua's chief architect.

Programming in Lua gives a solid base for any programmer who wants to use Lua. It covers all aspects of Lua—from the basics to its API with C—explaining how to make good use of its features and giving numerous code examples. The book is targeted at people with some programming background, but it does not assume any prior knowledge about Lua or other scripting languages.

For the official definition of the Lua language, see the reference manual.

Second edition

Programming in Lua
by Roberto Ierusalimschy
Lua.org, March 2006
ISBN 85-903798-2-5

The second edition is aimed at Lua 5.1 and remains quite relevant for Lua 5.2.

The book is available at the main online stores, such as the Lua Bookstore at Amazon, and also as an e-book.

It is also available in German, Korean, Chinese, and Japanese.

First edition

Programming in Lua
by Roberto Ierusalimschy
Lua.org, December 2003
ISBN 85-903798-1-7

The first edition was aimed at Lua 5.0 and remains largely relevant, although there are some differences.

The first edition is available online below. If you find the online version useful, please consider buying a copy of the second edition. This helps to support the Lua project.

Programming in Lua (first edition)

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


Last update: Sun Mar 4 22:52:26 BRT 2012