浏览 2427 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (1)
|
|
---|---|
作者 | 正文 |
发表时间:2009-11-19
最后修改:2009-11-19
You could download the project for VC2008 in http://groups.google.com/group/lua5/web/lua_vc2008.rar The project will use parameter like "c:\test.lua", and the lua script like above image. The code starting point is pmain().
lua parser will parse the code file, and use LexState *ls to store the information. After the binary code generating, opcodes will run in function luaV_execute(). for the code in standard library (c function), it will be called in function luaD_precall(). 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |