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

Popular posts from this blog

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

iphone - How do I make a UIPickerView in a UIActionSheet -