lua-users home
lua-l archive

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


>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.

etc/bin2c.c is a handy tool for this.
--lhf