Re: C preprocessor yacc-able grammer

Esa Nurmi <>
21 Jan 2000 00:45:21 -0500

          From comp.compilers

Related articles
C preprocessor yacc-able grammer (RB) (2000-01-15)
Re: C preprocessor yacc-able grammer (Esa Nurmi) (2000-01-21)
| List of all articles for this month |

From: Esa Nurmi <>
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

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?

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.