Re: Need extraction tool(parser)
21 Jul 1997 09:59:23 -0400

          From comp.compilers

Related articles
Need extraction tool(parser) (Roger Simmons) (1997-06-30)
Re: Need extraction tool(parser) (The Flanagans) (1997-07-08)
Re: Need extraction tool(parser) (1997-07-09)
Re: Need extraction tool(parser) (David W. Coppit) (1997-07-13)
Re: Need extraction tool(parser) (1997-07-21)
| List of all articles for this month |

Newsgroups: comp.compilers
Date: 21 Jul 1997 09:59:23 -0400
Organization: Compilers Central
References: 97-06-133
Keywords: C++, tools

<Roger Simmons> Wrote:
!I need a program that will do the following:
!Search for a pattern in an annotated .cc or .h C++ source
!file. When the pattern is found the entire procedure will
!be printed to stdout.

    A few years back, I picked up a tool called glimpse, from the
    University of Arizona. With this tool, you can define a "section
    delimiter" and search for a string pattern. It will output all the
    "sections" in which that pattern occured. In your case, you might be
    able to define a section delimiter as a pattern that occurs at the
    beginning of each procedure in your program.

    I still use glimpse to search through my bibliographic databases. I
    define an empty line as a delimiter between consecutive bibliographic
    entries and then search on any keyword, be it a part of the author's
    name or a part of title or whatever. The best part about glimpse is
    that you can use 'and' conditions. At that time, there was even a
    proposal to use a combination of 'and' and 'or' conditions within a
    single query. That functionality might be available now.

Nandakumar SANKARAN


Post a followup to this message

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