Esrap-PEG is a
parser generator; it takes files with portable (language-agnostic) PEG notation and produces Esrap rules to parse this grammar. It also has some utility code for processing resulting ASTs.
http://mtn-host.prjek.net/projects/esrap-peg/
parser generator