3 ms·
Forced? I've written dozens of parsers, and personally I avoid parsing libraries like the plague - unless you're writing a really simple parser with few needs f
by vidarh 15y ago
Forced? I've written dozens of parsers, and personally I avoid parsing libraries like the plague - unless you're writing a really simple parser with few needs for error reporting and recovery, my experience is that parsing libraries usually end up being far more pain than they are worth.
- daeken 15y agoCompletely agreed. Once I got the hang of hand-writing parsers, I never looked back; they're higher-quality, generally faster, easier to write, and are easier to maintain than generated parsers.
- wglb 15y agoMy favorite compiler writer (dgc of mwc fame) says "Yacc makes the hard part of a compiler harder and the easy part easier".