4 ms·
I would agree with you on this. However, the opinion on this seems to be somewhat varied: in Coders at Work, Ken Thompson says I love yacc. I just love yacc. I
by wglb 17y ago
I would agree with you on this. However, the opinion on this seems to be somewhat varied: in Coders at Work, Ken Thompson says I love yacc. I just love yacc. It just does exactly what you want done. Its complement, lex, is horrible. It does nothing you want done. On the other hand, Dave Conroy says YACC makes the hard part harder and the easy part easier.
Personally, I like lexers, but would rather move the language definition to one where recursive descent parsing works.