http://github.com/Hardmath123/nearley -- A (rather powerful) JS parser generator. I lost interest in optimizing it; all the papers on optimizing Earley parsers are intimidating… I'd be really grateful if someone could either explain them to me, or even go ahead and implement them.