Re: TenDRA

Christian Fabre <fabre@gr.osf.org>
18 Feb 1998 22:57:46 -0500

          From comp.compilers

Related articles
TenDRA luc.tanguay@bell.ca (TANGUAY, LUC) (1998-02-14)
Re: TenDRA fabre@gr.osf.org (Christian Fabre) (1998-02-18)
Re: TenDRA rca@rivers.dra.hmg.gb (Robert Andrews) (1998-02-18)
TenDRA foskaty@my-deja.com (Ole Foskaty) (1999-10-27)
Re: TenDRA andyj@mc.com (Andy Johnson) (1999-10-28)
Re: TenDRA Roger@natron.demon.co.uk (1999-10-29)
Re: TenDRA broonie@tardis.ed.ac.uk (Mark Brown) (1999-10-31)
Re: TenDRA bruce@cenderis.demon.co.uk (Bruce Stephens) (1999-10-31)
[4 later articles]
| List of all articles for this month |

From: Christian Fabre <fabre@gr.osf.org>
Newsgroups: comp.compilers
Date: 18 Feb 1998 22:57:46 -0500
Organization: The Open Group Research Institute (was OSF-RI)
References: 98-02-065
Keywords: tools, UNCOL

TANGUAY, LUC 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 ?


Well, TenDRA a.k.a. ANDF, is an intermediate format. So as such you
can certainly "decompile it", sort of, and have access to something
in ASCII. But this is far less readable than the original C code,
not to mention C++.


What ANDF buys you here, is the portability checks of your source
code. Once you've ANDF-ized your code against a given abstracted ABI,
then you have a fair level of confidence in the portability of your
code.




> And how difficult it is to build a producer for a Pascal-like
> language ?


This should be easy. Once you have the program in a tree format of
some sort that reflects the Pascal structure, spiting out ANDF code
should be straightforward.


You can gain experience from the C producer which is available at the
following URL, kindly mentioned by Ben Sloman a couple of weeks ago:


http://alph.dra.hmg.gb/TenDRA/


Christian.


=====
                  Christian Fabre (TOG-RI was OSF-RI)
The Open Group Research Institute Net: c.fabre@opengroup.org
              2 avenue de Vignate Tel: +33 4 76.63.48.90
            38610 Gieres - France Fax: +33 4 76.51.05.32
[Hmmn. How much hackery is ANDF likely to need to support Pascal. Its
semantics aren't quite the same as C, after all. -John]




--


Post a followup to this message

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