06-08-2023, 12:42 PM
English | Feb 6, 2023 | ISBN:9798215177587 | 263 pages| Epub PDF | 1 MB
Learn Lua in a Weekend!
This book is a mini language reference on the Lua programming language. Lua is one of the "smallest" and simplest programming languages, and it is widely used as a scripting language in many applications, including various game engines such as Roblox. Lua is a "beginner-friendly" programming language. We go through all important features of Lua, as a standalone coding language in this book.
Although the book is written as a reference, you can read it more or less from beginning to end and you should be able to get the overall picture of the Lua language if you are familiar with some basic syntax of Lua. The book also includes all essential builtin functions and the standard library functions.
The book covers
Lua standalone interpreter. How to effectively use the Lua REPL.
Lua program execution. How to run the lua command in various ways.
Types, literals, variables. How to assign values to local variables and reference them.
Expressions. For example, how to do simple arithmetic and comparison operations.
Functions. How to define a named and unnamed functions, and how to call these functions.
Statements, such as the if conditional and the for, while, and repeat iteration statements.
Tables. And, various uses of tables as a map and an array, etc.
Metatables. How to customize the behavior of tables using metamethods.
Basic object-oriented programming (OOP) in Lua. Factory methods and classes.
Iterators. How to customize the iteration behavior of tables.
Concurrency. Various coroutine methods for thread lifetime management.
Lua standard libraries: math, string, table, os, io, file, and coroutine.
Download From Rapidgator
Download From DDownload
Download From Nitroflare