I think that the OP meant is there a set of grammars that parse C++, but are written for ANTLR v3 rather than v2? As far as I know, the answer is no. C++ is not the easiest thing to parse and it cannot be done purely with grammar.
Jim > -----Original Message----- > From: [email protected] [mailto:antlr-interest- > [email protected]] On Behalf Of Sam Harwell > Sent: Wednesday, October 07, 2009 11:30 AM > To: [email protected]; [email protected] > Subject: Re: [antlr-interest] C++ grammar for ANTLR v3 ? > > The only complete working grammar for ANTLR v3 written in ANTLR v3 is > the set of grammars in my C# port, and they use the CSharp3 target. The > C# port of the ANTLR tool uses these grammars internally for all its > processing, so they are tested working. It would take a significant > amount of work to port them to C++ due to the fact that they rely > heavily on the rest of the ANTLR tool's code for processing the > information gathered in parsing. > > There is another ANTLR v3 grammar written in ANTLR v3 targeting Java (I > believe), but I'm not sure what its status is. I do know it's not the > primary grammar used in the Java version of the tool. > > Sam > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Lisa Bahler > Sent: Wednesday, October 07, 2009 9:19 AM > To: [email protected] > Subject: [antlr-interest] C++ grammar for ANTLR v3 ? > > I'm looking for a C++ grammar for ANTLR v3. Does one exist? If not > yet, what is the status? > > > > 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 -~----------~----~----~----~------~----~------~--~---
