Related articles |
---|
Looking for PD C parser/AST generator masticol@cadenza.rutgers.edu (1992-04-20) |
Re: Looking for PD C parser/AST generator u895217@bruny.cc.utas.edu.au (1992-04-22) |
Newsgroups: | comp.compilers |
From: | masticol@cadenza.rutgers.edu (Steve Masticola) |
Keywords: | C, analysis, question |
Organization: | Rutgers Univ., New Brunswick, N.J. |
Date: | Mon, 20 Apr 1992 16:24:46 GMT |
Hi,
I'm looking for a Lex/Yacc based grammar that will parse C source and
generate abstract syntax trees (or 3-address code in some intermediate
language) and symbol tables. The grammar will be used as part of a
research tool that will be shipped to other sites to collect data; all
modules in it must therefore be in the public domain.
Please correct me if I'm wrong, but hacking gcc into a static analysis
tool looks like a truly onerous job.
Thanks for any help,
- Steve Masticola (masticol@cs.rutgers.edu)
[There are a couple of free parsers in the compilers archive and other free
C compilers such as lcc available, maybe one of those would be an easier
place to start. -John]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.