Y
Hacker News
new
|
ask
|
show
|
jobs
by
conaclos
431 days 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.
1 comments
fooker
431 days 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.
link
That way you get nice, targeted error messages.