lua-users home
lua-l archive

Re: string.dump strip option (5.2 request)

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


Luiz Henrique de Figueiredo wrote:
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
I think the conclusion was that it would complicate the API.
Good. Just a quick question (haven't read the above thread thoroughly myself). Is possible to strip the debug information off the generated bytecode? Like
withDbgInfo = string.dump(aFunction)
noDbgInfo = strip_debuf_info(withDbgInfo)
just by manipulating the byte stream?
Regards,
Ignacio Burgueño

AltStyle によって変換されたページ (->オリジナル) /