Node.js parser for context-free grammars in Backus-Naur Form