From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_20,MSGID_SHORT autolearn=no autolearn_force=no version=3.4.5-pre1 Date: 9 Dec 91 14:40:07 GMT From: mcsun!unido!ira.uka.de!smurf.sub.org!altger!doitcr!salyko!salyko.doit.sub .org@uunet.uu.net (Oliver Kellogg) Subject: re-re: Fortran to Ada converters Message-ID: <4532@salyko.doit.sub.org> List-Id: Hi"samlingvanoj" (Esperanto for "members of the same language" :) , This message was really supposed to be a reply to Jeff Rahr (eswgjr@v8.vitro.com ?), but I had problems getting mail to him. Since I only very recently got online with email, I didn't know that any Fortran-to-Ada converters exist in public domain, so I wrote my own. It's a very basic one-pass converter that doesn't do any fancy transformations or optimizations (in particular, and most disturbingly, it doesn't yet do any GOTO elimination), so it's a HALF-AUTOMATIC converter. For example, declarations for IMPLICIT variables do not appear where they should, but only at the very end of the synthesized Ada code. They must then be manually moved up to where they're supposed to appear. A further weak point is I/O statements. These are not converted. In general, the code that comes out should really be worked-over for the sake of minimal Ada aesthetics, esp. in programs that heavily use GOTOs. The converter is written in VAX C (sic!) and has thus far only been run on compute intensive, low-I/O algorithms written in VAX Fortran. Now I have 2 questions too: 1) Where can I find the Advanced Tech. Systems Fortran to Ada converter that someone recently mentioned? Note I don't have any anonymous ftp. Maybe you could give me a pointer on what kind of transformations this converter does, and what its weak points are. Also, I heard there is available a Lex/Yacc that outputs Ada. Where can I get this? 2) Someone (unfortunately I don't recall who) mentioned an article in the magazine "Computer Languages" on a Fortran to Ada converter. Well I've looked through issues 1,2, 3/4 of 1991 and issue 1 of 1992, but I couldn't find the article. I'd be happy if anybody can point me to where exactly the mentioned article is. Thanks a bunch for the information. Oliver M. Kellogg, Software Eng'r, MBB Space Systems, Munich, FRG email: okellogg@salyko.sub.org.de