lua-users home
lua-l archive

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


On Sun, Apr 15, 2012 at 8:19 PM, Jay Carlson <nop@nop.com> wrote:
> On Apr 15, 2012 12:39 AM, "Rebel Neurofog" <rebelneurofog@gmail.com> wrote:
>>
>> On Sun, Apr 15, 2012 at 6:28 AM, tehtmi <tehtmi@gmail.com> wrote:
>> > Hello all,
>> >
>> > I've written a decompiler for Lua 5.1.  It runs on chunks that have been
>> > compiled by luac with debugging information and attempts to print out a
>> > valid Lua program that would be compiled into equivalent bytecode.
>>
>> It would be very interesting to see output for debug-stripped chunk.
>> And especially to compare with output from unstripped chunk.
>
> Why?

It's interesting to know how much information is kept/lost during
translation into
VM language (byte-code or not).
It would be also interesting to see different ways of interpretation
of typical constructions.
Kind of another way of clear vision...