|A source to source Instrumenter email@example.com (1991-05-20)|
|From:||firstname.lastname@example.org (Sanjay Sharma)|
|Keywords:||Fortran, C, question|
|Organization:||Center for Supercomputing Research and Development|
|Date:||Mon, 20 May 91 16:59:39 GMT|
I am not sure that this is the right group to post this note. I am
looking for a tool which wiil take a fortran application written in fortran
77 and will annotate the code marking all loops, conditional statements and
function/subroutine entry/exit statements preserving the user comments as
well. I would like to do the same for a 'C' application. The platform will
be a machine running UNIX OS. I think the tool would be based on "lex and/or
Do any of you know about such a tool/tools in public domain, or if
you folks can suggest some pointers.
Any help would be greatly appreciated.
[There are several C and Fortran parsers available. See the comp.compilers
monthly posting for details. I wouldn't think it'd be hard to have them
dump out naive flow analysis, though discovering loops constructed from
GOTOs and mapping that back to the source would be somewhat harder. -John]
Return to the
Search the comp.compilers archives again.