Related articles |
---|
C preprocessor yacc-able grammer rbarrett@adelphia.net (RB) (2000-01-15) |
Re: C preprocessor yacc-able grammer Esa.Nurmi@nokia.com (Esa Nurmi) (2000-01-21) |
From: | Esa Nurmi <Esa.Nurmi@nokia.com> |
Newsgroups: | comp.compilers |
Date: | 21 Jan 2000 00:45:21 -0500 |
Organization: | Nokia |
References: | 00-01-061 |
Keywords: | C |
Why not simply use an existing C preprocessor as a front end to your
parser ??
Best regards
Esa
RB wrote:
> I have a need for a C parser. I have found yacc-able and lex-able
> specifications, but they don't include preprocessor directives.
> Obviously, I can add the necessary code to the lexical specification and
> re-run it through lex, but I need help with the parser part.
>
> Can anyone help me find a current grammar specification for the C
> preprocessor?
Return to the
comp.compilers page.
Search the
comp.compilers archives again.