下载了个LUA WIN32解释器,里面有4个可执行文件,分别是什么功能了?????

LPF2015 2008-12-29 08:01:03
lua5.1.exe
bin2c5.1.exe
wlua5.1.exe
luac5.1.exe

第一个我运行一看就知道是LUA的解释器了.
第二个运行后是这样的: coude automatically generated by bin2c DO NOT EDIT
{
static const usingned char B0[]={

第三个双击没反映(是没反映)
第四个是运行一下就关了.(一闪而过)

...全文
602 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
major78517 2012-01-30
  • 打赏
  • 举报
回复
LuaForge is the major repository for user-contributed tools in sourcecode and compiled versions, and includes LuaBinaries (project homepage), which are pre-compiled Lua libraries and executables. lua52.exe is the console-based interpreter, wlua52.exe is similar to lua52.exe but provides no console output (which means you'll need to write a GUI to interact with the invisible interpreter); luac5.2.exe compiles a Lua source file into bytecode; bin2c5.1.exe turns Lua bytecode into C (?). Those command-line executables are just clients of the lua*.dll libraries, just like sqlite3.exe is the command-line version of the sqlite.dll.
iambic 2008-12-31
  • 打赏
  • 举报
回复
wlua没反映是因为没有收到任何参数,立刻就结束了。
你可以wlua some-thing.lua执行一个脚本。
LPF2015 2008-12-31
  • 打赏
  • 举报
回复
试验了一下//
现在三个基本了解了..
lua5.1.exe 解释器
bin2c5.1.exe 我发现是个把字符翻译成ASCII码的十进制值的程序
wlua5.1.exe 就这个不知道,EXE文件双击没反映,不知道是为什么??????????????????
luac5.1.exe 编译器 输出文件为.OUT文件

iambic 2008-12-30
  • 打赏
  • 举报
回复
今年国内翻译了本Lua的书,你可以参考下。
LPF2015 2008-12-30
  • 打赏
  • 举报
回复
有没有中文版本的 文档呀
iambic 2008-12-29
  • 打赏
  • 举报
回复
luac是编译lua脚本到字节码的。
wlua应该是另启一个窗口来运行程序,也就是不挂起当前命令行。
bin2c不清楚,看名字是C代码生成器,可能是简化C与Lua交互的吧。

37,741

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • WuKongSecurity@BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧