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: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Ada to C translator Date: 1997/01/22 Message-ID: <1997Jan22.062734.1@eisner>#1/1 X-Deja-AN: 211453273 x-nntp-posting-host: eisner.decus.org references: <32E4C115.55BD@iies.es> x-nntp-posting-user: KILGALLEN followup-to: comp.lang.ada summary: A general purpose translator is not possible x-trace: 853932488/15470 organization: LJK Software newsgroups: comp.lang.ada Date: 1997-01-22T00:00:00+00:00 List-Id: 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. Larry Kilgallen