Re: Recursive Decent Parser (example)
- Posted by RobertS 3 weeks ago
- 114 views
Thank you for your praise! As I've said and you have now seen for yourself, the code is poorly documented, it has grown slowly and not always systematically (to put it mildly) over a period of almost 20 years, and I tend to use variable names that are short and convey little information ... If you have any questions please feel free to ask, you can reach me by mail, robert@drs.at
By the way, I'm curious about your comment that reading my RDP example made you feel good about choosing RPN. What was it that helped reinforce your decision?
Oh, there was no deep meaning to those words - looking at your code just showed me again that it isn't trivial to parse infix notation, and made me glad that I never tried it. :) Even though laziness wasn't my only motive to avoid it, I really like RPN.