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

I understand that, but I still find it easier to write/maintain/extend a grammar than a parser for that grammar.


If you've got the right utility functions, a handwritten parser visually maps very directly to its grammar. It won't be as concise of course, but cognitively you can work with it almost as if it were just a grammar.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: