Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

Loving it! It's so nice to see this kind of things around :)


You can also check out http://javascript.crockford.com/tdop/tdop.html

The article is also in the book Beautiful Code (O'Reilly)


Indeed, that is a very good article. I highly recommend it. TDOP is the combination of recursive descent and Floyd's operator precedence grammars, the latter of which is the technique I used (I find it sufficient for my needs).


TDOP of Vaughan Pratt is also used in maxima (that is the way they use an infix language similar to python as a frontend to Lisp. In maxima you can define easily infix, prefix and postfix operator with a left and right binding force for your grammar. I couldn't find with grep the file I was looking for in the maxima source, but for examen Fateman paper "Syntax Extension as a Tool for Application Programming" is a good reference.




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

Search: