Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is your approach for generating error messages during parsing?


Ad-hoc, with the proviso that error recovery should always consume tokens, so the parser can never get stuck in a loop.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: