From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,795b5ffd8e9f6222 X-Google-Attributes: gid103376,public From: Tucker Taft Subject: Re: Ada to C++ Translator Date: 2000/04/14 Message-ID: <38F78A6F.2317213C@averstar.com>#1/1 X-Deja-AN: 611275535 Content-Transfer-Encoding: 7bit References: <38F4E313.29F51F71@raytheon.com> To: Brad Crabtree X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@inmet2.burl.averstar.com X-Trace: inmet2.burl.averstar.com 955746927 4590 141.199.8.164 (14 Apr 2000 21:15:27 GMT) Organization: AverStar (formerly Intermetrics) Burlington, MA USA Mime-Version: 1.0 NNTP-Posting-Date: 14 Apr 2000 21:15:27 GMT Newsgroups: comp.lang.ada Date: 2000-04-14T21:15:27+00:00 List-Id: Brad Crabtree wrote: > > This request is probably in poor taste for this discussion group, but > here goes ... > > I am looking options in converting Ada to C/C++ beyond the GNAT > translator. Commerical products OK. We have two (related) technologies that might be relevant: 1) We have a validated Ada 95 compiler that uses C as its intermediate language. With this, you keep writing and maintaining your program at the Ada level, but use the C compiler to get the code onto your target. The C we generate is quite portable, and is generally debuggable using a C debugger. It is also easily interfacable with other parts of the system written in C. 2) We have adapted the above product to produce C (or C with a bit of C++) in a more human readable format, with Ada comments carried over to the generated C/C++, names as close as possible to the original Ada, etc. This technology is currently only available as a service, where we charge on a per-line basis to translate Ada to C/C++. The expectation here is that this is a one-time process, with future maintenance performed on the C/C++ code rather than the Ada code. Both technologies are in use in production environments, but neither is "shrink wrapped." We (or you) need to do some tailoring for the particular target machine, host machine, and C compiler of interest. Let us know if you would like to pursue use of either technology. > > Thanks for any info in advance. > > Please no lectures on why this can't or shouldn't be done, or Ada or C++ > > bashing unless you just can't help youself. The tool will only be used > as an intermediate step and > not used on sections of code we will be re-architecting to make use of > C++ functionality :-) > -- > Bradley D. Crabtree, Software Design Engineer > b-crabtree@raytheon.com -- -Tucker Taft stt@averstar.com http://www.averstar.com/~stt/ Technical Director, Distributed IT Solutions (www.averstar.com/tools) AverStar (formerly Intermetrics, Inc.) Burlington, MA USA