text: - Lua Tutorial
  - Lua - Home
  - Lua Basics Tutorial
  - Lua - Overview
  - Lua - Environment
  - Lua - Basic Syntax
  - Lua - Variables
  - Lua - Data Types
  - Lua - Operators
  - Lua - Loops
  - Lua - Decision Making
  - Lua - Functions
  - Lua - Strings
  - Lua - Arrays
  - Lua - Iterators
  - Lua - Tables
  - Lua - Modules
  - Lua - Metatables
  - Lua - Coroutines
  - Lua - File I/O
  - Lua - Error Handling
  - Lua Advanced
  - Lua - Debugging
  - Lua - Garbage Collection
  - Lua - Object Oriented
  - Lua - Web Programming
  - Lua - Database Access
  - Lua - Game Programing
  - Lua Useful Resources
  - Lua - Quick Guide
  - Lua - Useful Resources
  - Lua - Discussion
  This Lua tutorial lets you explore a new language, Lua. This tutorial has everything from fundamentals of the programming language to advanced concepts. After completing this tutorial, you will find yourself good with programming using Lua.
  What is Lua?
  Lua is an open source language built on top of C programming language. It is exclusively designed for embedded systems. It features dynamic typing, simple syntax and efficient memory management. Lua has its value across multiple platforms ranging from large server systems to small mobile applications.
  The name "Lua" means 'Moon' in Portuguese. We should write as "Lua" not "LUA" because LUA can have different meanings for different people and confusing also.
  Why Choose Lua?
  Lua is free open-source software, known especially for game development. Some key features which makes Lua a popular choice are −
  - Syntax of Lua is simple and minimal which makes it easy to learn.
  - Lua uses dynamic typing, where we can assign any value to a variable without explicit type declaration.
  - Lua can integrate with other programming languages and systems, which is used in multi-language projects.
  - Lua is fast in terms of performance.
  - Lua is portable i.e, runs perfectly on all platforms that has a standard C compiler like embedded processors, mobile devices and windows.
  Jobs & Opportunities
  Well , learning only Lua wouldn't help you get any job but Lua is quite an important tool to be skilled in if an individual is looking for these jobs −
  - Game Developers
  - Embedded systems developer
  - Gameplay Programmer
  - Software Developer
  Lua- Scripted video games
  Lua programming language is popularly used for scripting video games, as it relatively eases the process of embedding and deploying. Some notable games that use Lua are −
  - World of Warcraft
  - Angry Birds
  Prerequisites to Learn Lua
  You don't have to know a lot of Prerequisites to learn Lua. However, knowledge on fundamental topics would make the process easy. Understanding basic programming concepts, scripting concepts and development environment would help even if you are a total beginner. Additionally, start the learning process with tutorials and explore sample codes.
  Who Should Learn Lua?
  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.
  Frequently Asked Questions about Lua
  There are some important frequently asked questions (FAQs) about Lua, this section lists them down along with their answers briefly −
  Lua is a lightweight, embeddable scripting language. It's often used in game development, web applications, embedded systems, and as a configuration language.
  Lua supports object-oriented programming through tables and metatables, but it doesn't have classes in the traditional sense.
  Lua is typically interpreted, but it can also be compiled into bytecode for performance optimization.
  Lua supports numbers, strings, booleans, nil, tables, functions, and userdata.
  Metatables allow you to customize the behavior of Lua tables, enabling features like operator overloading and metamethods.
  Lua's simplicity, fast execution, and embeddability make it a suitable choice for scripting game logic, AI, and user interfaces.
  Unity, Roblox, and World of Warcraft are notable examples of game engines that utilize Lua.
  Lua is generally considered a fast scripting language, often outperforming other scripting languages in benchmarks.
  Follow this tutorial chapter-wise for a complete understanding about Lua programming. Start Lua by installing Lua, writing basic scripts, and exploring its core concepts like variables, data types, control flow, and functions.