[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [LuaJIT] incompatibly of string.dump with Lua5.1.4's
- From: David Manura <dm.lua@...>
- Date: Mon, 4 Jul 2011 14:17:53 -0400
On Mon, Jul 4, 2011 at 12:30 AM, Xavier Wang <firstname.lastname@example.org> wrote:
> 2011/7/4 Xavier Wang <email@example.com>:
>> [...] In LuaJIT, the second parameter [to string.dump becomes] a strip flags that indicated to
>> strip the debug information of chunk or not. []
Related to that, this could be a good extension to also add in 5.2.
Such a patch was made in  and also suggested in  along with
workarounds (e.g. a pure Lua implementation of the bytecode editing).
This limitation currently complicates luac.lua , even more-so when
running it under interpreters other than lua 5.1. (Personally, I
don't usually see much harm in debuginfo though.)
 http://luajit.org/extensions.html - "string.dump(f [,strip]) "