[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: unluac, a Lua 5.1 decompiler
- From: tehtmi <tehtmi@...>
- Date: Sat, 14 Apr 2012 19:28:28 -0700
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.
The decompiler is probably not perfect. Things that are likely to
confuse it are complicated nested control structures (especially with
break statements) and complicated expressions with logical or comparison
operators.
http://sourceforge.net/projects/unluac/
I hope someone else will find it useful.
--tehtmi
P.S. Thank you to Kein-Hong Man, for writing Chunkspy and documentation
of the Lua VM.