[comp.lang.ada] Fortran-to-Ada translator

mfeldman@seas.gwu.edu (Michael Feldman) (02/16/91)

 
While we are on the subject of language-to-language translators, does
anyone in net-land have any experience with this one?

Mike Feldman
 
 
               Ada Software Repository Master Index, July 5, 1989
 
 
 PROGRAMMING TOOLS
   LANGUAGE TRANSLATORS
     FORTRAN TO ADA
 ===============================================================================
 UNIT NAME                                 Directory   PD2:<ADA.TRANSLATORS>
  FORTRAN_ADA                                   File Name      Bytes    Lines
 REVIEW CODE                                 ---------------  --------  ------
  RI; MF-DATA; CS (DEC Ada)                  ATTS.DOC           573175   17777
 AUTHOR                                      ATTS.INC              125       6
  Jeanne Robinette                           ATTSREQ.DOC         24172     375
  Advanced Technology Systems                ATTSREQ.INC           283       9
  8027 Leesburg Pike                         F2ADA.COM            1359      49
  Vienna, VA  22180                          F2ADA.PRO            2558      55
  703/827-0081 or 9519                       F2ADA.VM           186186     631
  Contact: Bob Knapper, IDA                  F2ADA1.INC            370      20
  703/824-5534                               F2ADA1.SRC          82268    2350
 DATE CREATED                                F2ADA2.INC            311      20
  9/86                                       F2ADA2.SRC         845420   23442
 DATE RELEASED                               F2ADA3.INC            364      20
  3/14/88                                    F2ADA3.SRC         703745   18557
 DATE LAST UPDATED                           F2ADA4.INC            350      20
  3/14/88                                    F2ADA4.SRC        1387511   33976
 LOCATION                                    F2ADA5.INC            396      25
  ASR                                        F2ADA5.SRC         365208    9562
 ENVIRONMENT                                 F2ADART.INC           236      12
  VAX/VMS, DEC Ada                           F2ADART.SRC        597780   17312
  DG MV10000, ROLM/DG AOS                    F2ADAVM.DOC           576      13
 SEE ALSO                                    F2AREAD.ME           4286      96
  WIS_TOOL_24_1                              F2ATEST.INC           713      36
 SHORT DESCRIPTION                           F2ATEST.SRC         79488    2657
  Translate WWMCCS H6000 FORTRAN 66 to       ===============  ========  ======
   Ada                                        23 Files         4856880  127020
 
 ABSTRACT
  	FORTRAN_Ada is an automatic conversion tool for the conversion
  of FORTRAN source code files to Ada source code.  Conversion is done
  without human intervention.  FORTRAN_Ada converts a common dialect of
  WWMCCS H6000 FORTRAN 66 to Ada.
 
 

carters@ajpo.sei.cmu.edu (Scott Carter) (02/20/91)

re PD FORTRAN-to-Ada translator in Ada SR:

I'm not familiar with this particular product, but we have written an F77
to Ada translator which has been reasonably successful on some fairly
large programs (mostly simulators and software development tools).

We attempt to recast the FORTRAN into normal structured constructs (if
humanly possible :} ) and otherwise try to make the output human-readable
(e.g. separate packages for each named COMMON, etc.).  If the other product
does the same thing (correctly, at least 100-eps % of the time), I would
expect that that the output would be about as maintainable as most of the
Ada I see which seems to have been written by a human [Turing] translator.

Again, I can't vouch for the other product but at least there's an existence 
proof that it's doable.

Scott Carter - McDonnell Douglas Electronic Systems Company
carter%csvax.decnet@mdcgwy.mdc.com (preferred and faster) - or -
carters@ajpo.sei.cmu.edu		 (714)-896-3097
The opinions expressed herein are solely those of the author, and are not
necessarily those of McDonnell Douglas.