lua-users home
lua-l archive

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

On 27 Nov 2008, at 04:32, Grant Robinson wrote:
I was hoping to get some feedback of what approaches others here have used, and what people have found that works best.

My guess is:

(a) if you want to embed general Lua scripts into a host application, go for the 'bin2c' because it uses a very simple and flexible approach.

(b) if you want to create a library with pre-compiled Lua modules that can be linked to different projects, be distributed as a general library, or be dynamically loaded using the Lua 5.1 package model, you'll find that LOOP pre-compiler and pre-loader scripts might help you.

(c) if you want to create an executable file for an application entirely or mainly written in Lua, check out Luiz's tools:

On 27 Nov 2008, at 06:52, Luiz Henrique de Figueiredo wrote:
Try my luac.lua to generate the bytecode and my srlua to embed it:

Renato Maia
PhD student at PUC-Rio