On Sat, Sep 12, 2009 at 11:57 PM, Joel de Guzman
OvermindDL1 wrote:
But yea, to learn what Spirit2.1 is built off of, look up PEG's on wikipedia, and yet Spirit2.1 is still so much more powerful then that. The documentation for it is in trunk. But as an example, I wrote this grammer a free hours ago, it is a relatively nasty looking one that I really should break up into easier to read parts, but it works quite well in my testing thus far:
[snip code]
It would help if you use fewer indent spaces and using declarations ;-)
It was in a self contained function in a cpp file, I tend to use using a lot in those cases, where I *never* use using in a header file. :) And the function was a few namespaces deep, causing it to get deep in my IDE. :)