Skip to content
ddoyaguezPublic
forked from styinx/lua4dec

About

Lua 4.0 Decompiler

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Decompiler for Lua 4 (WIP)

Uses compiled Lua 4 bytecode as input and converts it to readable Lua 4 code.

TODOs

  • Conditions: create "else" blocks
  • For In loop: identifier strings by local offset

Build

Windows MSVC Build && Test @ master

Ubuntu Clang Build && Test @ master

CMake

mkdir build
cmake -B build
cmake --build build --config Release

Run

./luadec luac.out

Run test (compiles and decompiles scripts in the tests/scripts folder)

./test ./luac ./luadec ./tests/scripts/

Inspect the byte code with a GUI

lua4dec-browser

About

Lua 4.0 Decompiler

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages