5 ms·
After trying hand-written approach and later perl's Parse::RecDescent I ended up using peg.js (http://pegjs.org http://pegjs.org) parser generator. It was proba
by RushPL 10y ago
After trying hand-written approach and later perl's Parse::RecDescent I ended up using peg.js (http://pegjs.org http://pegjs.org) parser generator. It was probably the most flexible and performant out of all the options I tried.
- mplewis 10y agoPeg.js is excellent. I'm working on a browser IDE for it to help people learn how to build programming languages.