This is the online version of the first edition of the book Programming in Lua, a detailed and authoritative introduction to all aspects of Lua programming written by Lua's chief architect. The first edition was aimed at Lua 5.0. It remains largely relevant for later versions, but there are some differences. All corrections listed in the errata have been made in the online version.
If you find this online version useful, please consider buying a copy of the current edition. This helps to support the Lua project.
Copyright © 2003–2004 Roberto Ierusalimschy. All rights reserved.
This online book is freely available for personal use only.
It cannot be copied to other web sites or further distributed in any form.
require Function
Last update: Fri Jul 3 12:43:25 UTC 2020