Programming in Lua,4th Edition

Programming in Lua,Fourth Edition
Programming in Lua,Fourth Editionby: Roberto Ierusalimschy
ISBN-10: 8590379868
ISBN-13: 9788590379867
Released: 2016-08-01
Pages: 388
Lua is spreading more and more throughout different areas of software,from embedded systems and mobile devices to the Web and the Internet of Things. Besides,it has a major role in the game industry,where knowledge of Lua has become an indisputable asset. Lua is the language of choice for anyone who needs a scripting language that is simple,efficient,extensible,portable,and free.
Programming in Lua is the official book about the language,providing a solid base to any programmer who wants to use Lua. Authored by Roberto Ierusalimschy,the chief architect of the language,it covers all aspects of Lua 5–from the basics to its API with C. The book is the main source of programming patterns for Lua,with numerous code examples that help the reader to make the most of Lua’s flexibility and powerful mechanisms. Programming in Lua is targeted at people with some programming background,but does not assume any prior knowledge about Lua or other scripting languages.
This Fourth Edition updates the book to Lua 5.3 and marks a complete reorganization of the text. Building on his many years of experience teaching Lua,Roberto has restructured the book to present the material in a growing order of complexity,allowing the reader to better absorb the character of the language.
More information about the book is available on Lua.org
Biography
Roberto Ierusalimschy is the leading architect of the Lua programming language,driving its development since its inception in 1993. He is an Associate Professor of Computer Science at PUC-Rio (the Pontifical Catholic University of Rio de Janeiro),where he works with programming-language design and implementation.
Roberto has a M.Sc. Degree and a D.Sc. Degree in Computer Science,both from PUC-Rio. He was a visiting researcher at the University of Waterloo,ICSI,GMD,and UIUC,and a Tinker Professor at Stanford. As a professor at PUC-Rio,Roberto was the advisor of several students that later became influential members of the Lua community. Roberto is also a Distinguished ACM Speaker and a member of the IFIP Working Group on Language Design.
Contents
I. The Basics
1. Getting Started
2. Interlude: The Eight-Queen Puzzle
3. Numbers
4. Strings
5. Tables
6. Functions
7. The External World
8. Filling some Gaps
II. Real Programming
9. Closures
10. Pattern Matching
11. Interlude: Most Frequent Words
12. Date and Time
13. Bits and Bytes
14. Data Structures
15. Data Files and Serialization
16. Compilation,Execution,and Errors
17. Modules and Packages
III. Lua-isms
18. Iterators and the Generic for
19. Interlude: Markov Chain Algorithm
20. Metatables and Metamethods
21. Object-Oriented Programming
22. The Environment
23. Garbage
24. Coroutines
25. Reflection
26. Interlude: Multithreading with Coroutines
IV. The C API
27. An Overview of the C API
28. Extending Your Application
29. Calling C from Lua
30. Techniques for Writing C Functions
31. User-Defined Types in C
32. Managing Resources
33. Threads and States
Lua在不同的软件领域越来越多地传播,从嵌入式系统和移动设备到Web和物联网。此外,它在游戏行业中发挥着重要作用,其中Lua的知识已经成为无可争议的资产。 Lua是任何需要脚本语言,简单,高效,可扩展,便携和免费的人的首选语言。
Lua中的编程是关于语言的官方书籍,为任何想要使用Lua的程序员提供坚实的基础。由Roberto Ierusalimschy撰写,该语言的首席架构师涵盖了Lua 5的所有方面 – 从基础到其API的API。本书是Lua的编程模式的主要来源,其中包含许多代码示例,可帮助读者充分利用Lua的灵活性和强大的机制。 Lua中的编程针对的是具有一些编程背景的人,但并不认为有关Lua或其他脚本语言的任何知识。
这第四版将这本书更新为Lua 5.3,并标志着文本的完整重组。在他多年的Lua经验教训的基础上,罗伯托重组了这本书,以使材料呈现日益增长的复杂程度,让读者更好地吸收语言的特征。
有关该书的更多信息,请访问Lua.org

Roberto Ierusalimschy是Lua编程语言的领先建筑师​​,自1993年成立以来,推动其发展。他是PUC-Rio(里约热内卢天主教大学教授)的计算机科学副教授,语言设计与实现。
罗伯托有一个硕士学位和学士学位来自PUC-Rio的计算机科学学位。他是滑铁卢大学访问研究员,ICSI,GMD和UIUC,以及斯坦福大学的修补教授。作为临PUC里约的教授,罗伯托(Roberto)是几位学生的顾问,后来成为Lua社区的有影响力的成员。罗伯托还是杰出的ACM演讲人,也是IFIP语言设计工作组的成员。
目录
一,基础知识
入门
插曲: 八皇后拼图
数字


功能
7.外部世界
填补一些差距
II。 真正的编程
关闭
模式匹配
插曲: 最常见的单词
日期和时间
位和字节
数据结构
15.数据文件和序列化
编译,执行和错误
17.模块和软件包
III。LUA-主义
迭代器和泛型
插曲: 马尔科夫链算法
兼容性和Metamethods
面向对象编程
22.环境
垃圾
24.协调
反思
插曲: 多线程与协程
IV。 C API
27. C API概述
扩展你的应用程序
来自Lua的C
编写C函数的技巧
31. C中的用户定义类型
32.管理资源
线程和国家
[/erphpdown]

相关文件下载地址

下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Programming in Lua,4th Edition

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫