Remix.run Logo
o11c 3 days ago

One reason hand-written recursive-descent parsers are common is because a lot of languages are poorly designed, and it's easier to hack around the mistakes in a hand-written parser.

For new languages this should be avoided - just design a sane grammar in the first place.