3 ms·
It’s been a minute but parsing with decent performance is what caused all the parser generator stuff. It is a historically hard problem. PEGs allow the gener
by TheCondor 5y ago
It’s been a minute but parsing with decent performance is what caused all the parser generator stuff. It is a historically hard problem.
PEGs allow the generator input to more closely match the mental model programmers have, *LR require the language to be structured just a little differently than how most people think it.
- eatonphil 5y agoWell if most production parsers use hand-written parsers (and aside from SQL databases, they mostly do) I don't think performance would really make sense to be the reason anyone chooses parser generators. I'd be curious to read any posts/papers you've got that have benchmarks that show performance to be a reason.