[antlr-interest] Re: Tree parser question

lgcraymer lgc at mail1.jpl.nasa.gov
Thu May 13 15:25:56 PDT 2004


--- In antlr-interest at yahoogroups.com, "edcjones" <edcjones at y...> wrote:
> In the ANTLR docs it says:
> 
> For example, #( A B ) will report a match for any larger tree with the
> same structure such as #( A #(B C) D).

That is, match A as root and B as first child.  ANTLR does not check
if A or B have siblings or not, nor if B has a child.

> 
> Will #( A B ) report a match for #(A D #(B C))?

No.

--Loring



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list