lua-users home
lua-l archive

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


On Thu, Oct 25, 2012 at 6:42 AM, Thijs Schreijer
<thijs@thijsschreijer.nl> wrote:
> yes. can be done. but PuC Lua has bytecode that is not portable across architectures iirc.

In this case, not particularly a problem.  string.dump/lua_dump does
what you want.

However, the compiled chunk will not work with different Lua states,
if it has upvalues.  (Lua Lanes goes to a lot of trouble to copy these
upvalues over between states)

steve d.