Re:PEG.js - parser generator for JavaScript
by dmajda on Wednesday March 17, 2010 @01:56PM
(#1199186)
I believe that the classical generated parser has generally better performance potential - there is less function calling, less string passing (but this may be avoided easily in combinators too) and more opportunity for optimalization if you have the whole grammar AST in hand.
http://www.bluishcoder.co.nz/2007/10/javascript-parser-combi...
I did the same thing in ActionScript. It's easy and fun.