Re:A meta approach to implementing programming languages (2018)
by CJefferson on Sunday February 24, 2019 @03:41PM
(#19240497)
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.
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.