lua-users home
lua-l archive

Re: [ANN] LuaJIT Roadmap 2011

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


* 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
>> 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. 
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.

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