[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua script to Windows or DOS executable?
- From: Eric Tetz <erictetz@...>
- Date: Tue, 24 Aug 2004 16:43:44 -0700
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