comp.lang.ada
 help / color / mirror / Atom feed
From: herter@pgtd0143.mch.sni.de ()
Subject: Re: C/C++ to Ada Translators ?
Date: 13 Mar 1995 15:54:41 GMT
Date: 1995-03-13T15:54:41+00:00	[thread overview]
Message-ID: <3k1ps1$qc@luxor.mch.sni.de> (raw)
In-Reply-To: alevinso-2002952316290001@minnow.pond.com

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.



      parent reply	other threads:[~1995-03-13 15:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <alevinso-2002952316290001@minnow.pond.com>
     [not found] ` <3id1cb$1j3c@watnews1.watson.ibm.com>
1995-02-28  4:30   ` C/C++ to Ada Translators ? Rohan LENARD
1995-02-28 20:33     ` Norman H. Cohen
1995-03-04 21:19       ` Rohan LENARD
1995-03-13 15:54 ` herter [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox