[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] LuaJIT Roadmap 2011
- From: Michal Kottman <k0mpjut0r@...>
- Date: Sun, 23 Jan 2011 18:32:39 +0100
On Sun, 2011-01-23 at 17:33 +0100, Florian Weimer wrote:
> * Mike Pall:
>
> >> But there is one thing that I was hoping to see on the road map and that is
> >> support for dumping and loading bytecode. Is this still a planned feature?
> >
> > I've previously said that it's currently not a priority for me,
> > since it offers few benefits for open source developers.
>
> I think there are some tools which generate bytecode, like MetaLua.
> Even if you transform bytecode back to equivalent (but not much more
> readable) Lua source code, you still can't set line number
> information.
That's true, another problem with MetaLua is that often you can't
convert the AST back to Lua, because it uses `Label and `Goto, which are
possible in standard Lua bytecode, but not in Lua source.
I'm not sure how LuaJIT "feels" about this, but I guess not too good
until there is a way to load bytecode...