lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



There is no documantation for Lua 5.3 bytecode.
"A No Frill Introdution to Lua 5.1 Instruction"[1] is a famous research for Lua 5.1 bytecode.
I've tried to read the 5.3 bytecode with the paper and implemented the decode/encoder[2] written in MoonScript.
I hope I can be of any help to you.

[1] http://luaforge.net/docman/83/98/ANoFrillsIntroToLua51VMInstructions.pdf
[2] https://bitbucket.org/nymphium/lasm/src/817d497ad63005553029966f424e63f91c55afb8/luadec/reader.moon


On Sun, Sep 11, 2016 at 10:49 AM Charles Heywood <vandor2012@gmail.com> wrote:
I'm working on a project that involves dealing with Lua bytecode; is there a documentation that describes how bytecode works in human readable format?
--