Re: translating C to Java language (Derek M Jones)
3 Dec 1996 20:50:27 -0500

          From comp.compilers

Related articles
translating C to Java language zahir@senan.Eng.Sun.COM (1996-12-01)
Re: translating C to Java language (1996-12-03)
Re: translating C to Java language (1996-12-07)
Re: translating C to Java language (1996-12-15)
| List of all articles for this month |

From: (Derek M Jones)
Newsgroups: comp.compilers
Date: 3 Dec 1996 20:50:27 -0500
Organization: Knowledge Software Ltd
References: 96-12-022
Keywords: C, Java

zahir@senan.Eng.Sun.COM writes:

> Has any one looked at writing a semantic translator from a C language
> description to a functionally equivalent Java language description?
> The translation need not be entirely automatic, human interaction in
> the conversion cycle for corner cases might be okay with a proper
> environment assist.
> Has anyone done a similar translator from C to another object
> oriented language?

But C is not object oriented. I always see the job of translation
as maintaining the structure of the original code. So no object
oriented code in, no object oriented code out.

> Pointers to references or to earlier usenet threads on this topic
> will be appreciated.

Eight years ago we wrote a C to Pascal Translator. We also have a
design for C to Ada ( Java
ought to be relatively easy in some way, but much harder in others.


Derek M Jones tel: +44 (0) 1252 520 667
Knowledge Software Ltd email:
Applications Standards Conformance Testing

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.