|Looking for PD C parser/AST generator firstname.lastname@example.org (1992-04-20)|
|Re: Looking for PD C parser/AST generator email@example.com (1992-04-22)|
|From:||firstname.lastname@example.org (Steve Masticola)|
|Keywords:||C, analysis, question|
|Organization:||Rutgers Univ., New Brunswick, N.J.|
|Date:||Mon, 20 Apr 1992 16:24:46 GMT|
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 (email@example.com)
[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
Search the comp.compilers archives again.