5 ms·
I once tried to use parser combinators and I was quite disappointed by the result. I find it harder to read and to handle error than regular recursive descendan
by conaclos 1y ago
I once tried to use parser combinators and I was quite disappointed by the result. I find it harder to read and to handle error than regular recursive descendant parsers.
- fooker 1y agoThe trick is to have your grammar or combinator setup to have error productions for all the common errors you can think of. That way you get nice, targeted error messages.