Re: Translating OO program to procedural program

"napi" <napi@axiomsol.com>
11 Oct 2006 23:18:03 -0400

          From comp.compilers

Related articles
Translating OO program to procedural program samhng@gmail.com (=?iso-8859-1?B?bW9vcJk=?=) (2006-10-10)
Re: Translating OO program to procedural program pjb@informatimago.com (Pascal Bourguignon) (2006-10-11)
Re: Translating OO program to procedural program oliverhunt@gmail.com (oliverhunt@gmail.com) (2006-10-11)
Re: Translating OO program to procedural program napi@axiomsol.com (napi) (2006-10-11)
Re: Translating OO program to procedural program mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2006-10-11)
Re: Translating OO program to procedural program torbenm@app-6.diku.dk (2006-10-11)
Re: Translating OO program to procedural program englere_geo@yahoo.com (Eric) (2006-10-11)
Re: Translating OO program to procedural program DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-10-11)
Re: Translating OO program to procedural program int2k@gmx.net (Wolfram Fenske) (2006-10-11)
Re: Translating OO program to procedural program tommy.thorn@gmail.com (Tommy Thorn) (2006-10-11)
[2 later articles]
| List of all articles for this month |
From: "napi" <napi@axiomsol.com>
Newsgroups: comp.compilers
Date: 11 Oct 2006 23:18:03 -0400
Organization: Compilers Central
References: 06-10-039
Keywords: OOP
Posted-Date: 11 Oct 2006 23:18:03 EDT

moop wrote:
> Hi,
>
> I am working on a project translates OO programs to procedural
> programs, such as translating C++ to C and the like. I hope this


Hi:


Are you going to support the entire C++ and translate it to ANSI C
eventually?
If that's the case it will be useful as a substitute to EDG's C++ to C
translator, or the one from Comeau. Another similar project is called
Lightweight C++ which you can find more info at:
http://students.ceid.upatras.gr/~sxanth/lwc/index.html. But, it does
not support the entire C++ standard.


One note is that when translating from C++ to C it would be a good idea
IMO that the target is ANSI C 1989 since most C compilers support that
standard as opposed to ISO/ANSI C 1999.


CFront from Lucent is no longer supported and it's way behind the
current C++ standard.
I bought the CD about 3 years ago from Lucent for $199, but I don't
think it's available for purchase now. I may be wrong though. I
recommend against using CFront for this purpose due to its significant
outdated-ness.


Napi


Post a followup to this message

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