|TenDRA firstname.lastname@example.org (TANGUAY, LUC) (1998-02-14)|
|Re: TenDRA email@example.com (Christian Fabre) (1998-02-18)|
|Re: TenDRA firstname.lastname@example.org (Robert Andrews) (1998-02-18)|
|TenDRA email@example.com (Ole Foskaty) (1999-10-27)|
|Re: TenDRA firstname.lastname@example.org (Andy Johnson) (1999-10-28)|
|Re: TenDRA Roger@natron.demon.co.uk (1999-10-29)|
|Re: TenDRA email@example.com (Mark Brown) (1999-10-31)|
|Re: TenDRA firstname.lastname@example.org (Bruce Stephens) (1999-10-31)|
|Re: TenDRA email@example.com (Bruce Stephens) (1999-11-01)|
|[3 later articles]|
|From:||Robert Andrews <firstname.lastname@example.org>|
|Date:||18 Feb 1998 23:04:55 -0500|
LUC TANGUAY wrote:
> Hi, is there anybody out there having some experience with TenDRA ?
> Could it be used to analyze and/or visualize C/C++ source code ? And
> difficult it is to build a producer for a Pascal-like language ?
There are a couple of commercial C source code visualisers based on
the TenDRA C front-end available, namely CodeIntegrity by MKS and
OpenLint by Softway. Both of these use a simple symbol table dump
generated by the C producer rather than the ANDF intermediate form.
The C++ producer can also dump its symbol table in the same way, so
generating similar tools for C++ would also be possible.
There has been some work here at DERA (not the TenDRA people, but
another group) on doing flow analysis more directly on the generated
ANDF. (Luc, I'll email you a contact name when I've discussed it with
the people involved.) The structured nature of the ANDF makes it a
convenient form for analysis; the chief problem is in relating the
gleaned information back to the original source code, because most of
this information (line numbers, variable names etc.) has been thrown
The information can however be preserved using the -g option to
include diagnostic information in the ANDF. Note that the current
(ANDF 4.0) diagnostic specification only really covers C (diagnostic
information is far more language-specific than code); we are currently
working with DDC-I to develop a new ANDF-DE (ANDF diagnostic
extension) which also covers C++ and Ada. There is experimental
support for an early version of this format in the current release
(use the -g2 or -g3 option to tcc).
I don't know of anyone who has looked at doing a Pascal producer. My
experience doing the C++ was that 95% of my problems were C++ problems
(i.e. problems I would have had with any C++ compiler), and only 5%
were ANDF problems.
DERA (Defence Evaluation and Research Agency)
Email: R.Andrews@eris.dera.gov.uk or email@example.com
Return to the
Search the comp.compilers archives again.