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=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ea40456edaea3d23 X-Google-Attributes: gid103376,public From: "wiljan" Subject: Re: Pascal to Ada translator/ aflex,ayacc GNAT ports Date: 1996/12/01 Message-ID: <01bbdf5d$da19d820$33208b82@wd>#1/1 X-Deja-AN: 201677498 references: <57htn2$jm8@cnn.Princeton.EDU> <57i8af$p8m@felix.seas.gwu.edu> <57j17b$6pt@news.pacifier.com> <01bbde30$7a63d4e0$11208b82@wd> <01bbde93$a09ea190$0d208b82@wd> organization: Philips Electronics N.V. newsgroups: comp.lang.ada Date: 1996-12-01T00:00:00+00:00 List-Id: Robert Dewar wrote in article ... > Just how much effort do you expect an automatic translator to spend in > taking junk badly written Pascal and turning it into nice Ada? I do not think it is even possible to build such a program in general. If one could, you can probably prove that one can also translate badly written C program into good Ada programs. My point is that every translator has certain trade offs. That was also the case with my pascal to Ada translator. For me there had be a point at which stop working on the translator. I had the trade off between: * putting more work in the translator making it work better * Starting with the output of the translator. My intermediate goal was the translator, but my final goal was to have my EPASCAL code running in Ada on Windows NT. Wiljan