comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL --> C++ ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL --> C++ ? [message #32746 is a reply to message #32708] Mon, 04 November 2002 14:35 Go to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
> Robert wrote:
>
>> Hi folks,
>> is there any application out there to translate IDL source code to C++
>> source code ? Even buggy solutions are welcome ,) ... If there is no
>> possibility right now, i'm going to programm eigher a full freatured (
>> free ! ) translator or a set of classes/ librarys that'll allow easy
>> rewriteing any IDL application within C++ . ( helping hands and minds
>> are more then welcome... )
>>
>> thank you for reading and for any response,
>> Robert



My 2 cents.
I think you could do an automatic translation of about 20% of IDL
source code without too much of a problem. The remainder I think
would take about 10 man years (uh.. human years, ..uh.. hu-person years....
uh... hu-per-offspring years?...).
At which time you could start to test the code. Add another 15 man years
(you'll want to run the translator on all idl routines and many combinations
thereof).

One problem would be updating your translator every year or so when a
new version of IDL comes out. Ideally, the user would be able to select
what version of IDL source code would be translated.

I'd be interested to see an "idl source code to C++ translation"
just merely of histogram, where, sort, uniq, rebin (and the scientific
formats routines too, HDf, NetCDF). Please post them to this newsgroup.
When you get those finished, maybe you can start your project. :)

Cheers,
bob stockwell


PS It would probably be easier to grab the machine instructions out
of memory and decompile it into c code. Then translate that into C++
object oriented code.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Help in modifying code
Next Topic: Re: Convolution, IDL & Numerical Recipes

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 15:27:36 PDT 2025

Total time taken to generate the page: 1.12042 seconds