[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Single file executable distribution?
- From: "Matt Holmes" <kerion@...>
- Date: Sat, 8 Sep 2001 10:05:12 -0400
You could do this a couple of ways, but the easiest way would be to create a
static string right in the C source which represents the Lua byte code, link
the lua library, and on main just do lua_dobuffer on the array. You could
even write a system that does this for you, but the system you run it on
would need a C compiler to actually make the exe. I actually toyed around
with adding something like this to my Lua IDE: I am still toying ;)
Matt "Kerion" Holmes
Lua Studio - The Lua IDE
----- Original Message -----
To: "Multiple recipients of list" <email@example.com>
Sent: Saturday, September 08, 2001 9:42 AM
Subject: Single file executable distribution?
> How would one go about embedding a Lua script file into the Lua
> standalone interpeter so that the script could be distributed
> (and run!) on machines without Lua being installed separately?
> Any Lua tools similar to Python's py2exe available, perhaps?