Lua Quick Start Guide: The easiest way to learn Lua programming
暫譯: Lua 快速入門指南:學習 Lua 程式設計的最簡單方法
Gabor Szauer
- 出版商: Packt Publishing
- 出版日期: 2018-07-27
- 售價: $1,460
- 貴賓價: 9.5 折 $1,387
- 語言: 英文
- 頁數: 202
- 裝訂: Paperback
- ISBN: 1789343224
- ISBN-13: 9781789343229
-
相關分類:
程式語言
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$1,690$1,606 -
$1,020$969 -
$3,970$3,772 -
$580$452 -
$660$521 -
$780$616 -
$680$537 -
$780$616 -
$680$537 -
$980$774 -
$600$468 -
$594$564 -
$799$719
相關主題
商品描述
The easiest way to learn Lua programming
Key Features
- The easiest way to learn Lua coding
- Use the Lua standard libraries and debug Lua code
- Embed Lua as a scripting language using the Lua C API
Book Description
Lua is a small, powerful and extendable scripting/programming language that can be used for learning to program, and writing games and applications, or as an embedded scripting language. There are many popular commercial projects that allow you to modify or extend them through Lua scripting, and this book will get you ready for that. This book is the easiest way to learn Lua. It introduces you to the basics of Lua and helps you to understand the problems it solves. You will work with the basic language features, the libraries Lua provides, and powerful topics such as object-oriented programming. Every aspect of programming in Lua, variables, data types, functions, tables, arrays and objects, is covered in sufficient detail for you to get started. You will also find out about Lua's module system and how to interface with the operating system.
After reading this book, you will be ready to use Lua as a programming language to write code that can interface with the operating system, automate tasks, make playable games, and much more. This book is a solid starting point for those who want to learn Lua in order to move onto other technologies such as Love2D or Roblox.
A quick start guide is a focused, shorter title that provides a faster paced introduction to a technology. It is designed for people who don't need all the details at this point in their learning curve. This presentation has been streamlined to concentrate on the things you really need to know.
What you will learn
- Understand the basics of programming the Lua language
- Understand how to use tables, the data structure that makes Lua so powerful
- Understand object-oriented programming in Lua using metatables
- Understand standard LUA libraries for math, file io, and more
- Manipulate string data using Lua
- Understand how to debug Lua applications quickly and effciently
- Understand how to embed Lua into applications with the Lua C API
Who this book is for
This book is for developers who want to get up and running with Lua. This book is ideal for programmers who want to learn to embed Lua in their own applications, as well as for beginner programmers who have never coded before.
Table of Contents
- Introduction to LUA
- Working with LUA
- Tables and Objects
- LUA Libraries
- Debuging LUA
- Embedding LUA
- LUA Bridge
- Next Steps
商品描述(中文翻譯)
學習 Lua 程式設計的最簡單方法
主要特點
- 學習 Lua 編碼的最簡單方法
- 使用 Lua 標準庫並除錯 Lua 代碼
- 使用 Lua C API 將 Lua 嵌入作為腳本語言
書籍描述
Lua 是一種小型、強大且可擴展的腳本/程式語言,可用於學習程式設計、編寫遊戲和應用程式,或作為嵌入式腳本語言。許多流行的商業專案允許您通過 Lua 腳本進行修改或擴展,而本書將幫助您為此做好準備。本書是學習 Lua 的最簡單方法。它將介紹 Lua 的基本知識,並幫助您理解它所解決的問題。您將學習基本的語言特性、Lua 提供的庫,以及物件導向程式設計等強大主題。Lua 中的每個程式設計方面,包括變數、資料類型、函數、表格、陣列和物件,都有足夠的細節讓您能夠開始使用。您還將了解 Lua 的模組系統以及如何與作業系統進行介接。
閱讀完本書後,您將能夠使用 Lua 作為程式語言,編寫可以與作業系統介接的代碼,自動化任務,製作可玩遊戲,等等。本書是希望學習 Lua 以便進一步接觸其他技術(如 Love2D 或 Roblox)的人的堅實起點。
快速入門指南是一個專注且較短的標題,提供對技術的快速介紹。它是為那些在學習曲線上不需要所有細節的人設計的。本書的內容已經精簡,以集中於您真正需要了解的事項。
您將學到什麼
- 理解 Lua 語言的基本程式設計知識
- 理解如何使用表格,這是使 Lua 如此強大的資料結構
- 理解如何使用元表進行 Lua 的物件導向程式設計
- 理解數學、檔案輸入輸出等的標準 LUA 庫
- 使用 Lua 操作字串資料
- 理解如何快速有效地除錯 Lua 應用程式
- 理解如何使用 Lua C API 將 Lua 嵌入應用程式中
本書適合誰
本書適合希望快速上手 Lua 的開發人員。本書非常適合希望在自己的應用程式中嵌入 Lua 的程式設計師,以及從未編碼過的初學者程式設計師。
目錄
- Lua 簡介
- 使用 Lua
- 表格與物件
- Lua 庫
- 除錯 Lua
- 嵌入 Lua
- Lua 橋接
- 下一步