[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] LuaJIT Roadmap 2011
- From: Florian Weimer <fw@...>
- Date: Sun, 23 Jan 2011 18:52:54 +0100
* Michal Kottman:
>> 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
> 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.
This is not a fundamental issue. After all, most compilers contain
logic which reconstructs loops from unstructured gotos. Most of the
time, code generated by MetaLua will have a structured representation
because it originally came from Lua code.