Parser generator that compiles LPeg-like grammars into C Lua modules

$ luarocks install --server=https://luarocks.org/dev pgen

pgen takes LPeg-like pattern definitions written in Lua and generates a
standalone Lua module in C for parsing strings. Generated parsers have
no runtime dependencies beyond Lua itself. Includes captures, match-time
Lua callbacks, labeled failures, and indentation-sensitive parsing via
transactional match-time stacks.

Versions

dev-1dev1 day ago0 downloads

Dependencies

argparse >= 0.7
lua >= 5.1

Manifests