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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9ab76c2183ecc054 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-02 13:58:53 PST Path: supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsxfer.eecs.umich.edu!news.bu.edu!inmet!not-for-mail From: Tucker Taft Newsgroups: comp.lang.ada Subject: Re: Ada to C Translator Date: Tue, 02 Jan 2001 16:58:52 -0500 Organization: AverStar (formerly Intermetrics) Burlington, MA USA Message-ID: <3A524F1C.223ABAE4@averstar.com> References: <92fk1v0cou@drn.newsguy.com> NNTP-Posting-Host: nebula.burl.averstar.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: inmet2.burl.averstar.com 978472732 7172 141.199.8.77 (2 Jan 2001 21:58:52 GMT) X-Complaints-To: usenet@inmet2.burl.averstar.com NNTP-Posting-Date: 2 Jan 2001 21:58:52 GMT X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:3579 Date: 2001-01-02T21:58:52+00:00 List-Id: Mike K wrote: > > Question to the group: > > I have a requirment to convert and application written in ada to c. Can anyone > provide me insight as to any ada to c translators available? AverStar has a variant of our AdaMagic front end that uses optimized ANSI C as its intermediate representation. We make this technology available in 2 ways: 1) As an Ada compiler for a target that has a reasonable ANSI C compiler, where you maintain the Ada source code, and the fact that it generates C as an intermediate is not terribly important, though it may allow you to use a C debugger to debug pretty much at the Ada source code level (we generate appropriate "#line" directives for this purpose). 2) As a translator from Ada to C, where the generated C source carries over the structure, comments, names, etc. from the Ada program in so far as possible. This is available only as a service on a per-line basis, primarily for packaging reasons, but in part also for business reasons. We can take advantage of certain C++ features (e.g. namespaces) if desired. The intent in this approach is that the translation is essentially a one-time process, and you edit and maintain the generated C source. Note that although we can retain all the run-time checks in the generated source, most users request we turn this off so the C code is more "typical." Furthermore, once you start editing the C code, you are definitely sacrificing all the compile-time and run-time checking provided by Ada. So you need a pretty compelling justification to take this second route if you care at all about the kind of automatic consistency checks that Ada provides. Please contact us if either of these approaches would be of interest to you. > > Mike -- -Tucker Taft stt@averstar.com http://www.averstar.com/~stt/ Technical Director, Commercial Division, AverStar (formerly Intermetrics) (http://www.averstar.com/services/IT_consulting.html) Burlington, MA USA