A source to source Instrumenter

sharma@sp30.csrd.uiuc.edu (Sanjay Sharma)
Mon, 20 May 91 16:59:39 GMT

          From comp.compilers

Related articles
A source to source Instrumenter sharma@sp30.csrd.uiuc.edu (1991-05-20)
| List of all articles for this month |

Newsgroups: comp.compilers
From: sharma@sp30.csrd.uiuc.edu (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.

--sanajy sharma
[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]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.