[comp.lang.c] I need to parse C

jmj714@uiucuxf.UUCP (11/25/87)

  I am engaged in an undergraduate computer science independent study project,
in which a clever version of MAKE is being developed.  As a part of the work,
I need to parse C source code, and am having trouble finding a formal grammar
for C, from which I can work.  I will probably use YACC, but hope to end up
with machine-independent code (how the usage of YACC will affect this, I do not
know).
  Could anyone suggest a source for such a formal C grammar, a YACC (& LEX?)
grammar for C, or offer any pertinent advice?  I already can tokenize C source,
but have not been able to parse such a tokenized representation.

      John Jozwiak
      jmj714@uxf.cso.uiuc.edu