Roberto Ierusalimschy is an Associate Professor of Computer Science at PUC-Rio (the Pontifical Catholic University in Rio de Janeiro), where he works with programming-language design and implementation. He is the leading architect of the Lua programming language and the author of "Programming in Lua" (now in its second edition and translated to Chinese, Korean, German, and Japanese).
Roberto has a M.Sc. Degree (1986) and a D.Sc. Degree (1990) in Computer Science, both from PUC-Rio. He was a visiting researcher at the University of Waterloo, (Canada, 1991), ICSI (CA, USA, 1994), GMD (Germany, 1997), and at UIUC (IL, USA, 2001/2002). As a professor at PUC-Rio, Roberto was the advisor of several students that later became influential members of the Lua community. Lately he has been developing LPEG, a novel pattern-matching package for Lua.
发表于2024-11-21
Programming In Lua 2024 pdf epub mobi 电子书
lua 的table 和nil我很喜欢、很方便。数据结构table足以。特别是让非程序员(如策划)做配置的时候。
评分抱歉,有些标题党。 Lua 美极了——优雅,简洁,自不必多说。此谓之瑜。 所谓瑕,是我发现的一处笔误。 在 28.3 节《面向对象的访问》中提到,为了使用户自定义类型能够使用面向对象的语法来操作,一定要为元表设置“--index 元方法”。 就这里错了,把 __index(下划线)写成...
评分lua 的table 和nil我很喜欢、很方便。数据结构table足以。特别是让非程序员(如策划)做配置的时候。
评分尽管Lua被认为是一种小而强大的语言,但从使用上来说,我很不喜欢Lua的文法风格。语义古怪另类,不符合传统C/C++、C#、JavaScript等体系语言的审美与使用规则,大有标新立异之嫌。例如下标从1开始、函数有多个返回值、以及if-then-end、for-end、do return end等啰嗦的写法。没...
评分看到元表那章开始,我就感觉到自己一直作为一个静态语言开发者的思想的局限性了 table 继承的方法之一是 table 的 metatable 中的 __index 字段引用父 table, 然后其实 table 可以作为自身的 metatable 比如 a = 1 g = { __index = _G } setmetatable(g, g) g.print(a) ...
图书标签: lua 脚本语言 编程 Programming 游戏编程 计算机 语言 编程语言
Lua is becoming the language of choice for anyone who needs a scripting language that is simple, efficient, extensible, portable, and free. Currently, Lua is being used in areas ranging from embedded systems to Web development and is widely spread in the game industry, where knowledge of Lua is an indisputable asset.
Programming in Lua is the official book about the language, giving a solid base for any programmer who wants to use Lua. Authored by Roberto Ierusalimschy, the chief architect of the language, it covers all aspects of Lua 5.0---from the basics to its API with C---explaining how to make good use of its features and giving numerous code examples. Programming in Lua is targeted at people with some programming background, but does not assume any prior knowledge about Lua or other scripting languages.
学习lua应当读的第一本书
评分书写得让我没有什么特殊感觉,不过Lua倒是让我一下就喜欢上了……看的是官网上的英文第一版,感觉也没啥非要买第二版的理由……
评分最新的第四版已经出来了吧
评分很好的入门书籍+查询手册
评分這是第一版。lua.org 上可在線閱讀。
Programming In Lua 2024 pdf epub mobi 电子书