Post a Comment
Speaking of yacc... http://undeadly.org/cgi?action=article&sid=20080708155228
I prefer the feature set in Flex/Bison to Lex/YACC; however, that being said, Lex/YACC were incredibly innovative for their time, and their impact is still being felt today, 35 years later. I shudder at the memory of one of my grad school professors, who required us to hand-code a LALR parser/generator without the use of Lex/YACC (but it certainly taught me a thing or two about some of the reduction problems faced by YACC, how YACC works, etc). Kudos to Stephen C. Johnson: You saved my ass on more than one project. ;-)
Edited 2008-07-10 22:20 UTC
I've used Bison myself and quite appreciate that tool but I feel that for large compiler projects with insane syntax, some people are going back to hand crafted parsers, that was done in GCC to handle C++ syntax with all error processing...
There are many aternative to Bison/Yacc, like ANTLR or Spirit, and for functional languages, "parser combinators" and monads...





