PEG.js – Parser Generator for JavaScript

PEG.js – Parser Generator for JavaScript.

PEG.js is a simple parser generator for JavaScript that produces fast parsers with excellent error reporting. You can use it to process complex data or computer languages and build transformers, interpreters, compilers and other tools easily.