▲ | markus_zhang 3 days ago | |
I have heard that RDP is prominent in production parsers, I wonder is it true? And is it pure handwritten RDP or combined with other automated techniques? | ||
▲ | o11c 3 days ago | parent [-] | |
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. |