background preloader

Lua

Facebook Twitter

5.1 Reference Manual - contents. The reference manual is the official definition of the Lua language.

5.1 Reference Manual - contents

For a complete introduction to Lua programming, see the book Programming in Lua. This manual is also available as a book: Lua 5.1 Reference Manual by R. Ierusalimschy, L. H. de Figueiredo, W. Buy a copy of this book and help to support the Lua project. Copyright © 2006–2012 Lua.org, PUC-Rio. Contents Index. The.Lua.Tutorial » Introduction. Judging by the fact that you have stumbled upon this document, I doubt you are actually wondering.

The.Lua.Tutorial » Introduction

However, to quote the official definition: Lua is a powerful, fast, lightweight, embeddable scripting language. We'll just assume that the reader is competent enough to actually start Lua. Finding, Downloading, and Installing the Lua package is an excersize that will be left to the readers. Download Lua for Windows (Google is your friend) Lua Interpreter Lua is an interpreted language. Lua IDE Contrary to what hardcore "coders" tell you, notepad is not your ideal development environment. Let's try out our fancy new Lua installation. It's Never Lupus! Wiki: Lua Tutorial. Introduction About the tutorial This tutorial is aimed at all newcomers to the language Lua.

wiki: Lua Tutorial

We start off with where to find relevant introductory material and then progress to using the language with tutorials in the TutorialDirectory. The style is directed at newcomers to scripting languages, as well as newcomers to Lua. Common uses of Lua are: A configuration language for applications. The tutorial tries to appeal to users of Lua on several levels: Users who are relatively new to programming. The style is simple, with lots of examples. Note to programmers wanting to embed Lua: Please note that this tutorial is aimed at usage of the scripting language, rather than the C API for embedding. This site you are reading is a wiki. About Lua Lua is a powerful, lightweight scripting language. Let's start Running Lua Please note that this tutorial assumes you are using Lua version 5.1. There is a page for contributed LuaBinaries for various platforms. The tutorials Notes on tutorial authoring style. Programming in Lua : contents.

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

Programming in Lua : contents

Programming in Lua provides a solid base to any programmer who wants to use Lua. It covers all aspects of Lua—from the basics to its API with C. The book is the main source of programming patterns for Lua, with numerous code examples that help the reader to make the most of Lua's flexibility and powerful mechanisms. The book is targeted at people with some programming background, but it does not assume any prior knowledge about Lua or other scripting languages. When you buy a copy of this book, you help to support the Lua project. For the official definition of the Lua language, see the reference manual.

Fourth edition The fourth edition updates the book to Lua 5.3 and marks a complete reorganization of the text. The book is available at the main online stores, such as the Lua Bookstore at Amazon. Third edition Second edition First edition. Wiki: Lua Uses. Here are brief descriptions of a few selected projects around the world that use Lua.

wiki: Lua Uses

(Wikipedia contains a [longer list].) If you know about an exciting project using Lua that is not listed here, please add it. What is the policy for adding items to this page? Is its purpose to provide high-quality examples of Lua in use, or advertising for any project with a Lua dependency that comes into existence? Yes, this is a filtered list, but the authors don't want to maintain the filtering algorithm and prefer the community to do the selection.

I don't think a comprehensive list has much point and might become a junkyard of defunct projects which never got off the ground. [arcapos] micro systems arcapos® is a point of sale solution for ticketing, libraries and retail. Contact: Marc Balmer [Codea] Codea is an iPad app with visual extensions. [V-REP (Virtual Robot Experimentation Platform)] V-REP Marc Freese [ScriptStudio] ScriptStudio? [Spring RTS] [SimCity 4] Maxis/Electronic Arts [World of Warcraft]