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: Ted Dennison Subject: Re: Ada to C translator Date: 1997/01/24 Message-ID: <32E9121B.FF6D5DF@escmail.orl.lmco.com>#1/1 X-Deja-AN: 211962257 references: <32E4C115.55BD@iies.es> <1997Jan22.062734.1@eisner> content-type: text/plain; charset=us-ascii organization: Lockheed Martin Information Systems mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 3.0 (X11; I; SunOS 4.1.3_U1 sun4m) Date: 1997-01-24T00:00:00+00:00 List-Id: Larry Kilgallen wrote: > > In article <32E4C115.55BD@iies.es>, Gabriel Rouzaut writes: > > Does anybody knows any tool to translate Ada source files to > > C/C++ source files?. I was looking for it on the net, but I > > couldn't find any. > > The consensus in comp.lang.ada from the _many_ times this has been > addressed in the past is that no general purpose translator could > be built since the semantics of Ada are a superset of the semantics > of C or C++ (no tasking for example). Please read archives of the > comp.lang.ada rather than starting the discussion up from scratch. > > > I was told that some Ada compilers use C as intermediate language > > before compilation. Does anybody know one?. > > I don't know of any, but sometimes such reports are confused due > to the fact that Ada compilers and C compilers use a common back > end. Examples are GNAT and DEC Ada. In each case the back end > has to include at least some Ada-specific features, which some > might views as "proof by example" that a general purpose Ada-to-C > translator is not possible. This is one of the better explanations I have seen on this subject. It would be a good candidate for inclusion in the c.l.a FAQ (hint hint). -- T.E.D. | Work - mailto:dennison@escmail.orl.lmco.com | | Home - mailto:dennison@iag.net | | URL - http://www.iag.net/~dennison |