[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Description of 5.3 bytecode operations?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 11 Sep 2016 09:53:44 -0300
> 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?
The physical layout of precompiled scripts is described in ldump.c.
If you need to read precompiled scripts, see lundump.c.
Be aware that precompiled scripts are binary files that are not portable
across different platforms.
See also the print section of luac.c.
The logical structure of the Lua VM is described in lopcodes.h.
The semantics is implemented in lvm.c.