Lua bytecode parser

Latest on Hackage:0.1.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

MIT licensed by Eric Mertens
Maintained by


Parser and generator for the Lua bytecode format.

Currently versions 5.2 and 5.3 can be parsed and 5.3 can be generated.

This package provides a Haskell datastructure for the format as well as a few helpers for extracting debug information.



  • Expose Language.Lua.Bytecode.Parser.BytecodeMode

  • Unpack opcode fields

  • Fix bug in rendering SETUPVAL opcode

  • Improved name lookup heuristic


  • Initial release
Used by 1 package:
comments powered byDisqus