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,4039d4e40ecde64c X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Ada to C translator Date: 1997/02/09 Message-ID: #1/1 X-Deja-AN: 217605506 references: <32E4C115.55BD@iies.es> <1997Jan22.062734.1@eisner> <5d29nv$sqv@mn5.swip.net> <5ddp0u$elq@mn5.swip.net> organization: New York University newsgroups: comp.lang.ada Date: 1997-02-09T00:00:00+00:00 List-Id: <> Well I know there is a smiley there, but still, this statement is highly misleading. The issue here has to do with much more fundamental issues than Ada being different from C, it has to do with a mismatch in semantic level for certain operations that leads to C that looks horrible to anyone. For example, because of the need to do overflow checking, we may well have to translate: x := (a * b) + (c * d); to x = PLUSOV (MULTOV (a, b), MULTOV (c,d)); where PLUSOV and MULTOV are macros that use operators like :? to check for overflow. There are many other such cases to be dealt with.