2 ms·
Parser combinators are fine for languages not designed to be written by people, but the error messages tend to be awful. What's increasingly clear to me, havin
by CJefferson 8y ago
Parser combinators are fine for languages not designed to be written by people, but the error messages tend to be awful.
What's increasingly clear to me, having designed a few languages, is that a well designed languages is easy to parse. I work on a couple of languages which require one token lookahead. This means when something goes wrong, we know exactly where the problem is, and what token we didn't expect.