lua-users home
lua-l archive

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





On Fri 23 Jul 2021, 21:48 Kernel Kinetic, wrote:
For me it looks like you're searching for this handy little tool: https://github.com/pocomane/glua

It is very similar to srlua [1] by Luiz, i.e. it produces an executable with an embedded Lua script.

However, here [2] it can be found a version with some library too (Lua socket, filesystem, etc), all in a single binary. I think it is useful also as a template to add other needed library (it uses the preload method that was suggested some post ago in this thread)

Mimmo Mane

[1] http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/
[2] https://github.com/pocomane/lua_static_battery