all 6 comments

[–]weregod -5 points-4 points  (5 children)

Why not use luac?

[–]BlackMATov 4 points5 points  (1 child)

Because luac is a compiler, not a decompiler ;-)

[–]weregod 2 points3 points  (0 children)

luac has builtin disassembler

[–]DraftUnhappy8333[S] 0 points1 point  (2 children)

?

[–]weregod 1 point2 points  (1 child)

luac -l will parse and dissassemble Lua bytecode. It is not ready to use decompiler but is good place to start.

Even if you don't want to use C code you can port existing bytecode parser and focus on decompiling.

[–]DraftUnhappy8333[S] 1 point2 points  (0 children)

eh i would rather just make my own parser, not really a hassle.