|C++ source code analyzer schauer@IRO.UMontreal.CA (Reinhard Schauer) (1997-03-13)|
|Re: C++ source code analyzer firstname.lastname@example.org (David Chase) (1997-03-18)|
|From:||David Chase <email@example.com>|
|Date:||18 Mar 1997 12:56:16 -0500|
|Keywords:||C++, parse, tools|
Reinhard Schauer wrote:
> Does anybody of you know about commercial or public domain C++ parsers
> that allow me to analze the abstract syntax tree with my own routines.
> I've just identified one available system of Steve Reiss, Brown
DISCLAIMER: The products I am about to recommend are produced by
friends and current and former colleagues. However, they are still
worthwhile products (I'd like to think that I neither associate nor
work with bozos, though I may be one myself).
Try Linguist from Declarative Systems. Send mail to
firstname.lastname@example.org for more information. Linguist is an
attribute grammar-based system, but (thankfully) you need not start
from scratch -- they also have an AG for C++, and you can start with
that. I believe a couple of sample applications are provided.
For more limited sorts of analysis, my former employer (CenterLine
Software) ought to be releasing a version of C++ Expert any week now
that allows you to write your own "advisories" and dynamically load
them into a parser/translator. There's a set of C++ classes and
templates that you would code to that give you access to the various
pieces of the AST in a readonly sort of way (the intent is to make it
really hard for you to mess up the normal behavior of the
parser/translator). I'm not certain who you should contact about
this; perhaps Glenn Allin (email@example.com) or Patricia Morton
And, of course, g++ contains a C++ parser, and in theory you could work
Return to the
Search the comp.compilers archives again.