[antlr-interest] C grammar for ANTLR ?
Chris Black
chris at lotuscat.com
Mon Jul 18 13:53:09 PDT 2005
Min Deng wrote:
>Hello all,
>
>I am new to ANTLR. What I would like to know is: is
>there a C grammar for ANTLR to generate a C parser in
>Java? If yes, could you point me to that grammar?
>
>
If you what you are looking for is a way to parse C code from Java
(which I think is what you are asking), download the full antlr release
and look in examples/java/tinyc/. There is probably a more complete one
online somewhere, but that should get you started.
Chris
More information about the antlr-interest
mailing list