4 ms·
Recursive descent is theory. If you put someone new to parsing on the job, you'd get a mess, not RD.
by tempguy9999 7y ago
Recursive descent is theory. If you put someone new to parsing on the job, you'd get a mess, not RD.
- chubot 7y agoYeah, I always write the grammar before writing the recursive descent parser. I can't imagine doing otherwise. It would be a mess. I'd go further and say that for most people, the first time you read or write a context-free grammar is when you're trying to write a parser. So the theory is motivating the practice.
- chrisseaton 7y agoIn my practical experience students naturally re-invent recursive descent.