Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
conaclos
· 1y ago · 0 comments
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.
Comments
[–]
fooker
1y ago
The 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.