From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,56250291936154a0 X-Google-Attributes: gid103376,public From: "Tarjei T. Jensen" Subject: Re: Where is the elusive jump command? Date: 2000/04/13 Message-ID: <8d4763$62r2@ftp.kvaerner.com>#1/1 X-Deja-AN: 610604481 Content-Transfer-Encoding: 7bit References: <38D771CA.D41AF9B5@port.ac.uk> <8bq7ku$mc8$1@nnrp1.deja.com><38E0E723.C39C392@quadruscorp.com> <8brfm4$4uc$1@nnrp1.deja.com><38E240D1.DB36C983@quadruscorp.com> <38E2333B.2109F2BB@lmtas.lmco.com><8bu4ek$412$1@nnrp1.deja.com> <8bul06$9aa1@news.cis.okstate.edu><38E396E7.45941282@quadruscorp.com> <8c1tcr$dkp2@ftp.kvaerner.com> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Organization: Kv�rner Group IT Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-04-13T00:00:00+00:00 List-Id: Robert A Duff >> The modula-2 compiler moca comes with a "compiler" which rewrites the >> source to readable C (the author claims). The kit used for this is >> cocktail. >> It should be possible to do the same for an fortran to Ada translator. > >But it's easier to translate a higher-level language into a lower-level >language, than the other way around. The point with moca and the reason for the pride of the author was that the program was re-written in another language without loosing readability. It was a matter of translation instead of compilation if I should put a name on the process. This means that there is prior art with regards to translating from a language to another and keeping the result readable. I suspect that it is easier to do this for fortran to ada than from c/c++ to ada. Anybody interested should inspect the moca compiler and the cocktail kit to decide for themselves whether the author is right about his claim. Greetings,