PanPG is a parser generator. Input is a parser expression grammar (PEG) and output is a parser written in JavaScript. Grammar Reuse PanPG uses plain PEG grammar files without embedded code. The same grammar file is equally usable by a compiler, a syntax highlighter running in real time in a text editor, a static analysis tool, etc. All of these will need to process the parsed representation in dif