Lua Programming: Complete Course [2020]

Lua Programming: Complete Course [2020]
Lua Programming: Complete Course [2020]
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 8.5 Hours | 2.62 GB

Master Lua Programming Language with Lua 5.3.

Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode with a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.

Topics covered in the course are:

  • Introduction to Lua
  • IDE and installation
  • Basic Language Constructs
  • Numbers
  • Strings
  • Tables
  • Functions
  • Input/Output
  • Blocks and Loops
  • Closures
  • Pattern Matching
  • Date and Time
  • Bitwise Operations
  • Data Structures in Lua – Arrays, Matrices, Linked Lists, Queues
  • Modules and Packages
  • Iterators and generic for
  • Metatables and Metamethods
  • Object Oriented Programming
  • The Environment
  • Garbage
  • Coroutines
  • C API

So, let’s dive into the course

What you’ll learn

  • Programming in Lua 5.3.
  • Solve problems using Lua.
  • Game development using Lua.
Table of Contents

Introduction
1 Welcome to the Course
2 What is Lua
3 Why choose Lua
4 Setup and Installation
5 Hello World Program using IDE

Getting Started
6 Chunks
7 Lexical Conventions
8 Comments
9 Global Variables
10 Types and Values
11 Nil
12 Booleans

Numbers
13 Numerals
14 Operators – Arithmetic and Relational
15 Math Library

Strings
16 Strings
17 Long Strings
18 Coercions
19 String Library functions

Tables
20 Tables Introduction
21 Table Indices
22 Table Constructors
23 Arrays Lists and Sequences
24 Table Traversal
25 Table Library

Functions
26 Functions in Lua Defining and calling functions
27 Multiple results
28 Variadic Functions
29 table.unpack function

InputOutput
30 IO Library
31 Simple IO model
32 Complete IO model

Control Structures
33 Control Structures in Lua
34 If Then Else
35 While loop
36 Repeat-until loop
37 Numerical For
38 Generic For
39 Break and Return statements

Closures
40 Functions as First Class Values
41 Closures and Lexical Scoping in Lua

Pattern Matching
42 Pattern matching functions
43 Patterns
44 Assignment 1 Solution – N Queens Puzzle

Date and Time Functions
45 Date and Time
46 os.time function
47 os.date() and os.difftime()

Modules and Packages
48 Modules in Lua
49 Modules as Tables
50 require function
51 Writing modules in Lua

Data Structures in Lua
52 Data Structures – Introduction
53 Arrays
54 Matrices and Multi-dimensional Arrays
55 Linked Lists
56 Queue and Deque concepts
57 Deque implementation in Lua
58 Assignment 2 Solution – Stack data structure

Iterators and Generic For
59 Iterators and Closures