2 ms·
> While we're at it, we also want to convert it to use recursive descent; it was originally written using parser combinators because that was what I was comfort
by greener_grass 2y ago
> While we're at it, we also want to convert it to use recursive descent; it was originally written using parser combinators because that was what I was comfortable with at the time
Aren't parser combinators just one way to do recursive descent?
- jjk7 2y agoExplicitly hand-writing the parsing logic allows you to get more specific in error states and messages that a combinator can't.