Lua 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 covers various topics ranging from the basics of Lua to its scope in various applications.
This tutorial is designed for all those readers who are looking for a starting point to learn Lua. It has topics suitable for both beginners as well as advanced users.
It is a self-contained tutorial and you should be able to grasp the concepts easily even if you are a total beginner. However it would help if you have a basic understanding of working with a simple text editor and command line.
Execute Lua Online
For most of the examples given in this tutorial you will find Try it option, so just make use of this option to execute your Lua programs at the spot and enjoy your learning.
Try following example using Try it option available at the top right corner of the below sample code box −