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,7a83623780b9aa09 X-Google-Attributes: gid103376,public From: Chris Morgan Subject: Re: Are there any automatic tools to convert ada83 source into ada95? Date: 1998/12/28 Message-ID: <87vhiv3m7j.fsf@mihalis.ix.netcom.com>#1/1 X-Deja-AN: 426582248 Sender: cm@mihalis.ix.netcom.com References: <766l70$dh1$1@nnrp1.dejanews.com> Organization: Linux Hackers Unlimited X-NETCOM-Date: Mon Dec 28 2:58:36 PM PST 1998 Newsgroups: comp.lang.ada Date: 1998-12-28T14:58:36-08:00 List-Id: stt@houdini.camb.inmet.com (Tucker Taft) writes: > changweimin@my-dejanews.com wrote: > > : I have a big system written in Ada83, with millons of lines. I intend to > : transit the system to Ada95, Are there any automatic tools to convert ada83 > : source into ada95? Any suggestion will be appreciated. > > Yes, it is called an Ada 95 compiler ;-). Seriously, there is no reason > to change your millions of lines of Ada 83 code. It should compile > as is, or with very minor changes, by any Ada 95 compiler. This is absolutely correct, grab an Ada95 compiler and just give it a go! I worked on a system which was getting on for 2 million lines of Ada83 ode. There were several individual problems here and there with our coding style, but none more serious than we found going from one Ada83 compiler to another. The only systematic problem was that our exception handlers were standardised with ... when CONSTRAINT_ERROR => DO_SOMETHING; when NUMERIC_ERROR => DP_SOMETHING_ELSE; ... which is no longer legal. Chris -- Chris Morgan http://www.mihalis.net