[antlr-interest] Java Parser to analyze C++ language syntax

SSG JJV virtuoso.coders at gmail.com
Thu Feb 26 20:06:02 PST 2009


Yes. But David's parser outputs C++ parser. I need a Java Parser to validate
C++ language syntax.
Thanks

On Thu, Feb 26, 2009 at 8:18 PM, Granville Barnett <
granvillebarnett at googlemail.com> wrote:

> Have you tried the grammar by David Wigg??
>
> On Fri, Feb 27, 2009 at 11:34 AM, SSG JJV <virtuoso.coders at gmail.com>wrote:
>
>> Hi,
>> Is there a any ANTLR grammar in Java, that can be used to validate C++
>> language syntax?
>>
>> I tried Sun C/C++ parser mentioned under grammar list on antlr site. but
>> could not generate antlr parser for the grammar mentioned.
>>
>> I got tons of errors.
>>
>> Is there any documentation on how to use the above parser?
>>
>> Thanks,
>> Suman
>>
>>
>> List: http://www.antlr.org/mailman/listinfo/antlr-interest
>> Unsubscribe:
>> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090226/77412432/attachment.html 


More information about the antlr-interest mailing list