在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
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(). |
请发表评论