|Lacing C/C++ code email@example.com (1993-11-14)|
|Re: Lacing C/C++ code firstname.lastname@example.org (1993-11-15)|
|Re: Lacing C/C++ code email@example.com (Prashant V Hedaoo) (1993-11-16)|
|Re: Lacing C/C++ code firstname.lastname@example.org (1993-11-29)|
|From:||email@example.com (Elan Feingold)|
|Keywords:||C, C++, question, comment|
|Organization:||Cornell Theory Center|
|Date:||Sun, 14 Nov 1993 23:29:00 GMT|
I want to write a program the laces up C code, i.e. takes
and spits out
for example. All I need to recognize are functions. It would be nice to
recognize C++ type functions too. I was thinking of hacking up the C/C++
grammar available for ftp at places, but does anyone know of a better
(read easier) way to do it?
Thanks in advance,
| Elan Feingold
| CS/EE Depts.
| Cornell University
| Ithaca NY 14850
[I'd be dubious that it's possible to identify function definitions reliably
with any less work than a full parse. Make sure any simpler scheme isn't
confused by declarations of function pointers and the like. -John]
Return to the
Search the comp.compilers archives again.