string.dump strip option (5.2 request)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: string.dump strip option (5.2 request)
- From: Daan Nusman <d.nusman@...>
- Date: 2008年2月26日 16:18:49 +0100
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 :)
--
Kind regards,
Daan Nusman, M.Sc.
re-lion
+31 53 4356687