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, g...
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.
作者简介
· · · · · ·
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 Japa...
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.
读到Metatables and Metamethods一章时,深深地被震撼了。以极简单的东西实现了极高妙的技术,有出神入化之妙。 总的来说,Lua语言的设计非常简洁,容易上手,读这本书的前几章就可以写一些够用的脚本处理许多任务了。如果要做较大的项目,再慢慢去读OO的内容。(本段是为了凑...
(展开)
0 有用 Galois 2016-06-03 00:48:17
pil确实是神书。想当初项目要上线,赶鸭子上架,本渣除了用过awesome外基本没接触lua,愣是在线上读了一半的pil第一版(https://www.lua.org/pil/contents.html)就开始用lua干活了【怪不得写了辣么多bug。之后野路子混成了老司机,遇到coroutine、lua调用c++接口时还是得经常回头再读pil。
0 有用 lula 2019-02-21 22:57:50
最新的第四版已经出来了吧
0 有用 onlyu 2008-04-15 12:46:39
http://www.lua.org/pil/index.html
0 有用 Mr.CoreDump 2013-01-31 11:52:56
学lua必读...不解释...
0 有用 shanno吳 2012-09-28 13:13:26
也是很久以前看的,喜欢Lua的小巧。Lua是我接触到的第一门脚本语言(如果Matlab不算的话),这本书我第一次接触到了闭包、协程和函数式编程的概念。后来在C++0x、Objective-c和Python中,也看到了这些概念的影子,但它算是我的启蒙。
0 有用 lula 2019-02-21 22:57:50
最新的第四版已经出来了吧
0 有用 有眼眸的鱼 2018-10-26 05:42:07
值得反复阅读的 lua 入门书籍。脚本语言运用的精髓在书中也有所体现。
0 有用 陌上歌 2017-01-02 13:02:21
用来Lua入门的书,发现为了实现面向对象,还是费了一番功夫的
0 有用 Galois 2016-06-03 00:48:17
pil确实是神书。想当初项目要上线,赶鸭子上架,本渣除了用过awesome外基本没接触lua,愣是在线上读了一半的pil第一版(https://www.lua.org/pil/contents.html)就开始用lua干活了【怪不得写了辣么多bug。之后野路子混成了老司机,遇到coroutine、lua调用c++接口时还是得经常回头再读pil。
0 有用 weakish 2013-11-05 17:58:45
這是第一版。lua.org 上可在線閱讀。