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=-0.8 required=5.0 tests=BAYES_00,FROM_ADDR_WS, INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!jpl-devvax!Larry From: Larry E. Carroll Newsgroups: comp.lang.ada Subject: Re: To-ADA Conversion Tools Message-ID: <10150@jpl-devvax.JPL.NASA.GOV> Date: 29 Oct 90 18:22:46 GMT References: <1990Oct3.002631.22329@inel.gov> <34@ulysse.enst.fr> Sender: news@jpl-devvax.JPL.NASA.GOV Organization: Jet Propulsion Lab, AEG/FIST List-Id: In article <34@ulysse.enst.fr> rosen@ulysse.enst.fr (Jean Pierre Rosen) writes: > >I know that sometimes such tools may be useful, but my advice would be: > If you translate BASIC (or whatever) to Ada, all you get is > translated BASIC. > >Or if you prefer: it is worth translating, if you don't change the fabric >of your program? You seem to presume the answer to your question is no. I'll disagree, with the caveat that the real answer always depends on the particular situation. In general, however, I'd say yes. I've translated C programs to Ada & found errors that had long plagued me because they were to difficult to find with lint or with the minimal checking of code that most C compilers do. Once the BASIC program is translated, it's easier to incrementally reshape it into a better form closer to Ada style & to make other improvements (perhaps major ones caused by requirements changes). Larry