comp.lang.ada
 help / color / mirror / Atom feed
From: Charles Hixson <charleshixsn@earthlink.net>
Subject: Re: C question (was: Ada & C)
Date: 2000/01/18
Date: 2000-01-18T00:00:00+00:00	[thread overview]
Message-ID: <3884AA55.3F0BF240@earthlink.net> (raw)
In-Reply-To: s88nh9ljeh672@corp.supernews.com

"Ira D. Baxter" wrote:

> If you have the right parser technology, parsing C is not hard and you
> don't need the symbol table immediately.   GLR parsing handles problems
> like typedef names by proposing multiple parses: in this case, one
> assuming its a typedef name, and the other assuming its a conventional
> identifier.
> Which can be resolved later, of course, with the symbol table.
>
> We offer reengineering tools that not only parse C, but C++, Ada95,
> Fortran95,
> you name it using this technology.   See
> http://www.semdesigns.com/Products/DMS/DMSToolkit.html.
>
> I would expect C2ADA to not be very easy.   Pointer casts and arithmetic
> are a bitch to translate.
>

Actually, I tend to feel that pointer casts *SHOULD NOT* be translated.  Some
things ought to be with a semantic level of understanding rather than merely a
syntactic level.





  reply	other threads:[~2000-01-18  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-08  0:00 Ada & C A.J. Werner
2000-01-09  0:00 ` Robert L. Klungle
2000-01-09  0:00   ` Brian Rogoff
2000-01-09  0:00     ` Ehud Lamm
2000-01-09  0:00       ` Brian Rogoff
2000-01-10  0:00         ` Larry Kilgallen
2000-01-12  0:00         ` C question (was: Ada & C) Wes Groleau
2000-01-12  0:00           ` David Starner
2000-01-12  0:00             ` Ted Dennison
2000-01-13  0:00               ` David Starner
2000-01-13  0:00                 ` Ted Dennison
2000-01-14  0:00                   ` David Starner
2000-01-16  0:00                 ` Keith Thompson
2000-01-18  0:00                   ` Ira D. Baxter
2000-01-18  0:00                     ` Charles Hixson [this message]
2000-01-18  0:00                       ` Gautier
2000-01-10  0:00   ` Ada & C tmoran
replies disabled

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