Y
Hacker News
new
|
ask
|
show
|
jobs
by
WalterBright
4522 days ago
The harder error messages to do well are the ones that come out of the semantic processing.
The ones coming out of the parser aren't that hard to do.
1 comments
mattfenwick
4522 days ago
What is your approach for generating error messages during parsing?
link
WalterBright
4521 days ago
Ad-hoc, with the proviso that error recovery should always consume tokens, so the parser can never get stuck in a loop.
link