Related articles |
---|
translating C to Java language zahir@senan.Eng.Sun.COM (1996-12-01) |
Re: translating C to Java language derek@knosof.co.uk (1996-12-03) |
Re: translating C to Java language sby@fvr.usask.ca (1996-12-07) |
Re: translating C to Java language agold@bga.com (1996-12-15) |
From: | derek@knosof.co.uk (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 (www.knosof.co.uk/ctoa.html). Java
ought to be relatively easy in some way, but much harder in others.
derek
--
Derek M Jones tel: +44 (0) 1252 520 667
Knowledge Software Ltd email: derek@knosof.co.uk
Applications Standards Conformance Testing http://www.knosof.co.uk
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.