yard - Limitations of PEG grammar & parser generators? -
I was enjoying a lot of yards:
I was able to create a fully functional calculator. I am evaluating the yard to PHP parser Please PLEASE advise on the limits of PEG grammar; Parser generator Thanks a lot!
I think the big "problem" with PAG is that they do not fit the grammar general In classification, because they work fundamentally differently. Normal grammar is "backward" in this sense that they describe all possible sentences (programs) that can arise. PEG explains how to parse - they come to the problem from the other end.
In my opinion this is a more natural way to think about the problem, and of course, any hand-written (recursive-line) parser I do not do anything else.
Comments
Post a Comment