lua-users home
lua-l archive

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


Daan Nusman wrote:
Hi,

1) I was thinking, for 5.2, why not add a boolean option string.dump so that to string.dump(f, true) produces bytecode without debug information.

Right now it is impossible to create stripped bytecode from within a normally compiled Lua interpreter (not counting luac of course), not even with a custom-made C function, because lua_dump also does not expose a "strip" parameter, so

2) let's change lua_dump to include the strip parameter too :)


This was requested on 2006. Don't know if the discussion arrived to any conclusion.

http://lua-users.org/lists/lua-l/2006-10/msg00013.html

Regards,
Ignacio Burgueño