出版社: Lua.org
出版年: 2006-3-5
页数: 328
定价: USD 39.95
装帧: Paperback
ISBN: 9788590379829
内容简介 · · · · · ·
Lua is 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...
Lua is 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---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. This Second Edition updates the text to Lua 5.1 and brings substantial new material, including numerous new examples, a detailed explanation of the new module system, and two new chapters centered on multiple states and garbage collection.
作者简介 · · · · · ·
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.
喜欢读"Programming in Lua, Second Edition"的人也喜欢的电子书 · · · · · ·
喜欢读"Programming in Lua, Second Edition"的人也喜欢 · · · · · ·
Programming in Lua, Second Edition的话题 · · · · · · ( 全部 条 )



Programming in Lua, Second Edition的书评 · · · · · · ( 全部 17 条 )
> 更多书评17篇
-
提个醒,在调用 ``incCount`` 函数之前,记得先定义一个 ``count`` 变量,否则会出错: /代码内容已省略/
2012-08-07 19:58
提个醒,在调用 ``incCount`` 函数之前,记得先定义一个 ``count`` 变量,否则会出错:> function incCount (n) >> n = n or 1 >> count = count + n >> end > > incCount() stdin:3: attempt to perform arithmetic on global 'count' (a nil value) stack traceback: stdin:3: in function 'incCount' stdin:1: in main chunk [C]: ? > count = 0 > incCount() > = count 1
回应 2012-08-07 19:58 -
wltan (新年快乐)
用VIsual Studio2010编译lua工程:(http://goo.gl/qLE6t) 1. 下载lua源代码:http://goo.gl/BQ4Q9 2. 下载Visual Studio工程文件:http://goo.gl/9oOEh 将工程文件与lua源码解压缩到同一个目录中,运行lua-vs2010.sln,生成文件在lib/lua.lib中。2011-07-22 15:53 1人喜欢
用VIsual Studio2010编译lua工程:(http://goo.gl/qLE6t)1. 下载lua源代码:http://goo.gl/BQ4Q9 2. 下载Visual Studio工程文件:http://goo.gl/9oOEh将工程文件与lua源码解压缩到同一个目录中,运行lua-vs2010.sln,生成文件在lib/lua.lib中。回应 2011-07-22 15:53 -
The constructor {x = 0, y = 0} is equivalent to {["x"] = 0, ["y"] = 0} Lua 这构造 table 的方式真够混乱的。跟 python 比较,Lua 实在别扭。python 构造 dict 的形式很统一,{'a': 1}。或许我应该多看几章再下评论... (1回应)
2011-05-20 21:21
-
wltan (新年快乐)
用VIsual Studio2010编译lua工程:(http://goo.gl/qLE6t) 1. 下载lua源代码:http://goo.gl/BQ4Q9 2. 下载Visual Studio工程文件:http://goo.gl/9oOEh 将工程文件与lua源码解压缩到同一个目录中,运行lua-vs2010.sln,生成文件在lib/lua.lib中。2011-07-22 15:53 1人喜欢
用VIsual Studio2010编译lua工程:(http://goo.gl/qLE6t)1. 下载lua源代码:http://goo.gl/BQ4Q9 2. 下载Visual Studio工程文件:http://goo.gl/9oOEh将工程文件与lua源码解压缩到同一个目录中,运行lua-vs2010.sln,生成文件在lib/lua.lib中。回应 2011-07-22 15:53 -
The constructor {x = 0, y = 0} is equivalent to {["x"] = 0, ["y"] = 0} Lua 这构造 table 的方式真够混乱的。跟 python 比较,Lua 实在别扭。python 构造 dict 的形式很统一,{'a': 1}。或许我应该多看几章再下评论... (1回应)
2011-05-20 21:21
-
if the function has one single argument and that argument is either a literal string or a table constructor, then the parentheses are optional/代码内容已省略/ 这样搞有意义吗。这不是语法糖是啥? (3回应)
2011-05-20 20:56
-
提个醒,在调用 ``incCount`` 函数之前,记得先定义一个 ``count`` 变量,否则会出错: /代码内容已省略/
2012-08-07 19:58
提个醒,在调用 ``incCount`` 函数之前,记得先定义一个 ``count`` 变量,否则会出错:> function incCount (n) >> n = n or 1 >> count = count + n >> end > > incCount() stdin:3: attempt to perform arithmetic on global 'count' (a nil value) stack traceback: stdin:3: in function 'incCount' stdin:1: in main chunk [C]: ? > count = 0 > incCount() > = count 1
回应 2012-08-07 19:58 -
wltan (新年快乐)
用VIsual Studio2010编译lua工程:(http://goo.gl/qLE6t) 1. 下载lua源代码:http://goo.gl/BQ4Q9 2. 下载Visual Studio工程文件:http://goo.gl/9oOEh 将工程文件与lua源码解压缩到同一个目录中,运行lua-vs2010.sln,生成文件在lib/lua.lib中。2011-07-22 15:53 1人喜欢
用VIsual Studio2010编译lua工程:(http://goo.gl/qLE6t)1. 下载lua源代码:http://goo.gl/BQ4Q9 2. 下载Visual Studio工程文件:http://goo.gl/9oOEh将工程文件与lua源码解压缩到同一个目录中,运行lua-vs2010.sln,生成文件在lib/lua.lib中。回应 2011-07-22 15:53 -
The constructor {x = 0, y = 0} is equivalent to {["x"] = 0, ["y"] = 0} Lua 这构造 table 的方式真够混乱的。跟 python 比较,Lua 实在别扭。python 构造 dict 的形式很统一,{'a': 1}。或许我应该多看几章再下评论... (1回应)
2011-05-20 21:21
在哪儿买这本书 · · · · · ·
这本书的其他版本 · · · · · · ( 全部4 )
- 电子工业出版社版 2008-1 / 438人读过
- Lua.org版 2012-11-22 / 59人读过 / 有售
- Roberto Ierusalimschy版 2003-11-30 / 51人读过
以下豆列推荐 · · · · · · ( 全部 )
- 遊戲編程: 腳本 (Milo)
- 计算机豆列 (天下)
- IT 三级 C/C++程序设计语言、框架技术(实用性) 1.1.1.1.1 (ajian005)
- Lua (Steven)
- 编程书籍候选 (笨蛋.mk⑨)
谁读这本书?
二手市场
- > 点这儿转让 有199人想读,手里有一本闲着?
订阅关于Programming in Lua, Second Edition的评论:
feed: rss 2.0
0 有用 {__lambda} 2011-10-08
第一版坑爹了
0 有用 西山 2013-02-26
在用premake,于是周末把内容和例子大概一遍,lua的确很简洁,而且够用,和javascript比较类似(table/object, 函数式),但没有javascript那些臭毛病。我的感觉lua的应用有三:一是做为配置文件;二是作为领域语言;三是作为独立程序,并且由C扩展 接着又读了第二遍,算是精读,每天1个小时,结合例子,效果非常好
0 有用 BruceChen 2015-11-20
书写的还是不错的,对于入门Lua还是绰绰有余。多读,多写Lua代码,很快就理解了。
0 有用 懒猫 2018-02-27
原版书籍,装帧好,当做wiki了。
0 有用 诚哥 2010-09-10
Lua,腳本
0 有用 Arcsinsin 2018-04-06
Lua 编程语言。
0 有用 MR.LONG 2015-05-11
Lua5.1的, 其中有一些内容已经过时了.
0 有用 BruceChen 2015-11-20
书写的还是不错的,对于入门Lua还是绰绰有余。多读,多写Lua代码,很快就理解了。
0 有用 Chou Le 2014-08-24
CH1-10
0 有用 William 2014-04-05
要看英文原版,多看幾遍,收穫頗豐,比如closure,很好用,語言非常小,非常容易嵌入到c中,非常方便,擴充非常方便,用起來很爽。