Hi ..
Alexandre Oliva
aoliva@redhat.com
Thu Apr 5 18:57:00 GMT 2001
On Apr 5, 2001, "Anil Bagri" <anil.bagri@patni.com> wrote:
> I need the C grammer rule ie., parser.y & lexer.l files with
> specifies the grammer rule for the C language? Where can I get this
> software?
The YACC grammar is part of the GCC source distribution: c-parse.in
(from which c-parse.y is generated). The lexer, built by hand, is in
c-lex.c
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-help
mailing list