Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Constructing human-grade parsers (duriansoftware.com)
3 points by fanf2 on March 4, 2018 | hide | past | favorite | 1 comment


When fixing syntax errors in programs (which now a days happens less and less, because all the on the fly parsing and error reporting), I prefer to fix the errors one-by-one and recompile after each fix. No matter how good a parser is, there will always be 'bogus' error reports after the initial error. I do not want to spend time on those, especially if a compiler can bring me to the next 'real' error within a second of reparsing. I rather not having the parser spend time on any further parsing in case an error is found.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: