[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Four paradigms for programming Lua apllications
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 31 Mar 2014 10:54:47 +0200
On Mon, Mar 31, 2014 at 10:39 AM, Dirk Laurie <firstname.lastname@example.org> wrote:
> 2. A precompiled standalone.
Can now pretty much automatically go from (1) to (2). This is
particularly attractive if writing applications for a consumer OS that
doesn't have a package manager.
Two stages (a) amalgamate all Lua source into a single archive
(Squish, soar, and so forth) and (b) glue that archive to a Lua stub
The rationale behind luabuild was to automate this as much as possible:
- customizable 5.2 build for the stub - leave out builtin modules,
add in external modules
- Jay's soar to construct the archive
- lhf's srlua to glue the archive to the stub
Jay wrote soar because he found Squish too complex and it's
strength is that it provides both static and dynamic ways to find the
dependencies, particularly the external ones.
Not 100%, because luabuild only integrates the core external modules,
but getting there (if there's any interest in building custom shared
libraries then I'll pursue that avenue)
 not just the obvious one ;)