Lua programming language is an open source language built on top of C programming language. Lua has its value across multiple platforms ranging from large server systems to small mobile applications
This tutorial will cover various topics ranging from the basics of the Lua programming language and its scope in various applications.
This tutorial is designed for all those individuals who are looking for a starting point of learning Lua and we cover topics suited for both a total beginner and an advanced user.
Before proceeding with this tutorial it is advisable for you to understand the basics concepts of computer programming. But the tutorial is self contained and you will be able to learn on various concepts of Lua even if you are a total beginner. You just need to have a basic understanding of working with a simple text editor and command line.
Execute Lua Programs
For most of the examples given in this tutorial you will find Try it option, so just make use of it and enjoy your learning.
Try following example using Try it option available at the top right corner of the below sample code box:
#!/usr/local/bin/lua print("Hello World!")
1 - Lua Reference Guide
A quick reference guide for Lua Programming Language.
2 - Lua Useful Resources
A collection of Lua Sites, Books and Articles is given at this page.
3 - Lua Tutorial in PDF
Download a Lua Tutorial in PDF format.