[antlr-interest] Tree Recursion (matching problem).
ewbank at gmail.com
Sun Jun 18 09:10:28 PDT 2006
Don't call it "stupid" - or else we are all stupid at some time or other.
It's part of the learning process and can safely be called education
instead. Those lessons that are a bit painful, but overall harmless, are
the best to learn - and they will not be forgotten.
Thanks for letting us observe the discovery process, and reminding us that
there are some mistakes we all make at some point or other
On 6/18/06, Craig Main <craig at palantir.co.za> wrote:
> I apologise in advance for having a conversation with myself in the
> list, but I figured out the problem and thought I would respond in to
> wasting anyone's precious time.
> The problem was that I had stupidly specified:
> expression : #(PLUS l=term r=term) // goes too deep to recurse later on?
> Instead of:
> expression : #(PLUS l=expression r=expression) // correct children.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the antlr-interest