Tree parsers work fine in C - download the examples in the download section of the web site. However, I think that you mean tree filters, which are not implemented.
Jim > -----Original Message----- > From: [email protected] [mailto:antlr-interest- > [email protected]] On Behalf Of Piotr Kaleta > Sent: Monday, October 04, 2010 8:16 AM > To: [email protected] > Subject: Re: [antlr-interest] Tree pattern matching in C target > > What I meant is simple tree parsers which are able to recognize when > traversing the tree downwards or upwards, based on special tokens DOWN > and UP. The examples present both on the website and in "Definite ANTLR > Reference" (the DefRef.g grammar) shows only the Java parsers with the > downup() function. It seems however that this function is not present in the > generated C source of the parser. > > Regards, > Piotr Kaleta > > On 10/04/2010 04:51 PM, Jim Idle wrote: > > Hang on - do you mean just straight forward tree parsers? That all > > works, so you grammar must be incorrect. It is the pattern searching > > stuff that is not implemeneted. > > > > jim > > > >> -----Original Message----- > >> From: [email protected] [mailto:antlr-interest- > >> [email protected]] On Behalf Of Alan Lehotsky > >> Sent: Sunday, October 03, 2010 12:39 PM > >> To: [email protected] > >> Subject: Re: [antlr-interest] Tree pattern matching in C target > >> > >> > >> I'm using the C target and had attempted to use the up/down matching > code > >> and couldn't make it work. Since I was still in the prototyping stage, I > > didn't > >> spend much time trying to figure out why it didn't work. Never > >> thought of the possibility that it hadn't been implemented. > >> > >> It would be a good thing to at least document the absence of this model. > >> > >> > >>> From: "Jim Idle" <[email protected]> > >>> Date: October 3, 2010 12:34:19 PM EDT > >>> To: <[email protected]> > >>> Subject: Re: [antlr-interest] Tree pattern matching in C target > >>> > >>> > >>> No - I have had zero demand for it to be honest. > >> List: http://www.antlr.org/mailman/listinfo/antlr-interest > >> Unsubscribe: > >> http://www.antlr.org/mailman/options/antlr-interest/your- > >> email-address > > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > > Unsubscribe: > > http://www.antlr.org/mailman/options/antlr-interest/your-email-address > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your- > email-address List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
