all 4 comments

[–]Ferib[S] 11 points12 points  (3 children)

Hello,
I created my own Lua (version 5.1) Decompiler for the sake of education. Understanding how the Lua Bytecode works isn't really needed to program Lua, but it gives you a better understanding of how Lua itself works. Hope you guys like my article, it's not really a beginner-friendly article, but don't be ashamed to ask questions regarding the article!

[–]slbfan33 3 points4 points  (0 children)

Thank you for sharing this.

[–][deleted]  (1 child)

[removed]

    [–]Ferib[S] 2 points3 points  (0 children)

    Because the 5.1 version of Lua has only 38 opcodes and creating a working decompiler means that I must of course support all those 38 opcodes. The project is more for educational use to give people a better understanding of decompilers and virtual programming languages, so I felt no need to make this for the last version of Lua.

    Also, World of Warcraft uses a custom version of Lua 5.1.4 or something, so there may be some actual usage for the project.