lua-users home
lua-l archive

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


Hello list,

I have completed a GUI tool for compiling and linking Lua applications
and their required modules into single, standalone chunks of Lua
bytecode. This tool is based on luac.lua [1] and the tekUI framework
[2]. Features:

* allows to run the application to sample the required modules
* allows to edit the list of modules to be linked
* allows to save the bytecode as binary or C source
* allows to strip debug information from the result

The compiler is now part of the tekUI package and has been tested under
Linux and Windows. The lua and luac executables are required in the
current path for sampling the application and for stripping the debug
information. Other than that, the tool is self-contained (using an
unmodified interpreter), and can be used to compile itself. Invoke it
from the top-level directory of the tekUI distribution:

# bin/compiler.lua

tekUI source code package:
http://tekui.teklib.org/releases/tekui-snapshot.tar.gz

Snapshot containing precompiled Windows modules:
http://tekui.teklib.org/releases/tekui-snapshot-windows.zip

Screenshot:
http://tekui.teklib.org/images/compiler.png

- Timm

[1] http://lua-users.org/lists/lua-l/2008-08/msg00092.html
[2] http://tekui.teklib.org/

-- 
Timm S. Mueller <tmueller@schulze-mueller.de>
Schulze & Mueller GbR, Erbacher Straße 26, 64342 Seeheim-Jugenheim,
Gesellschafter: Franciska Schulze, Timm S. Mueller,
Tel. +49 6257 648853-0, http://www.schulze-mueller.de/