mirror of
https://github.com/CPunch/LuaDecompy.git
synced 2024-11-22 06:40:06 +00:00
CPunch
0dbdfc49c6
- Extremely basic decompiler implemented in lparser.py - lundump.py ported from [this repository](https://github.com/CPunch/LuaPytecode)
10 lines
173 B
Python
10 lines
173 B
Python
import sys
|
|
import lundump
|
|
import lparser
|
|
|
|
lc = lundump.LuaUndump()
|
|
print(sys.argv[1])
|
|
chunk = lc.loadFile(sys.argv[1])
|
|
|
|
lc.print_dissassembly()
|
|
lp = lparser.LuaDecomp(chunk) |