lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


The Doctor wrote:
> The ideal would be as easy as:
> MakeLua.exe  Infile.lua  Outfile.exe

I wrote it, just to try it out.

http://tetzfamily.com/eric/code/lua2exe.exe

Usage: lua2exe myscript.lua

This outputs 'a.exe', which has your script bound to
Lua 5.0.2 built with MSVC 6.0 with all the
optimizations turned on. I did this in-between
meetings, so it's very quick and dirty, but it works on my machine.

It would be really easy to add a console control
library (I have one written for Lua in Windows
already), or better yet, to implement loadlib
support. But I'm on the way to another meeting...
so... tomorrow. ;)

Cheers,
Eric