Hacker News new | past | comments | ask | show | jobs | submit login

I really like Douglas Crockford's Pratt parser which is similar. It doesn't compile down to JS but it's trivial to go from the AST to JS either manually or using something like escodegen.

Very elegant and easily extensible.

http://javascript.crockford.com/tdop/index.html




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: