Linked by David Adams on Thu 10th Jul 2008 19:44 UTC, submitted by Sandro Hartley
Thread beginning with comment 322408
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
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...






Member since:
2006-01-06
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