PEG.js – Parser Generator for JavaScript

PEG.js is a parser generator for JavaScript based on the parsing expression grammar formalism.