Hacker News new | past | comments | ask | show | jobs | submit login

> we should be aware of "big hammer" solutions

Parser combinators have become my preferred "medium hammer" strategy:

Sometimes you get a more readable parser than if you use regex, even though your language is regular.

Sometimes you get corner cases where you have to think and an LR parser generator wouldn't require thinking.

On the other hand, you have one tool that almost always does the job well, is readable, and embeds nicely.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: