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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,694cfebe6a4e834d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-14 04:59:12 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!Germany.EU.net!Munich.Germany.EU.net!news.mch.sni.de!luxor.mch.sni.de!pgtd0143.mch.sni.de!herter From: herter@pgtd0143.mch.sni.de () Newsgroups: comp.lang.ada Subject: Re: C/C++ to Ada Translators ? Date: 13 Mar 1995 15:54:41 GMT Organization: Siemens Nixdorf AG Message-ID: <3k1ps1$qc@luxor.mch.sni.de> References: NNTP-Posting-Host: pgtd0143.mch.sni.de X-Newsreader: TIN [version 1.2 PL2] Date: 1995-03-13T15:54:41+00:00 List-Id: Alex Levinson (alevinso@wanda.pond.com) wrote: : However, I was wondering if I could just take the C/C++ code and convert : it to Ada83 without touching the existing cms2c. So, is there a C/C++ to : Ada translator out there? Hallo Alex, since the grammar of C++ is a non-deterministic grammar, there are only a few free grammars for c++ able to recognize correctly the current c++. The popular roskind-grammar is totally outdated. I wrote a C++ grammar using lark, a bottom-up tool from J.Grosch with trial-parsing and predicates and local multipass facility. So to recognize C++ correctly is a real hard task and almost everyone is trying to sell the existing grammars. Our grammar is also not free (I have asked the boss to make the grammar free because we finally bought a ready front-end for C++. I got a clear and loud NOOO- Answer!) Hm... So I fear, you must wait a moment. But Terrence Parr got after a hard work finally his C++-grammar for ANTLR LL(K) parser generator ready. This grammar will now be beta-tested and will be made public in the end of this month. By the way: I wish I could work on ADA tools, C++ is a horror language, but this currently a winner on the market! That's reality. Thomas.