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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5f6125e9594f9968 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.235.4 with SMTP id ui4mr22298399pbc.3.1332842378678; Tue, 27 Mar 2012 02:59:38 -0700 (PDT) Path: z9ni7036pbe.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: kalvin.news@gmail.com Newsgroups: comp.lang.ada Subject: Re: Ada to C translator for small microcontrollers Date: Tue, 27 Mar 2012 02:46:00 -0700 (PDT) Organization: http://groups.google.com Message-ID: <18324383.19.1332841560517.JavaMail.geo-discussion-forums@vbht7> References: <2424259e-cf1c-408e-a57e-f2c948087186@i2g2000vbv.googlegroups.com> NNTP-Posting-Host: 83.150.124.2 Mime-Version: 1.0 X-Trace: posting.google.com 1332842378 22226 127.0.0.1 (27 Mar 2012 09:59:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 27 Mar 2012 09:59:38 +0000 (UTC) In-Reply-To: <2424259e-cf1c-408e-a57e-f2c948087186@i2g2000vbv.googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.150.124.2; posting-account=QrZwxQoAAAByl3YAWTpexAk3yBYyZMHn User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-03-27T02:46:00-07:00 List-Id: As Niklas and Georg pointed well out, SofCheck (www.sofcheck.com) provides such an Ada (95) compiler, which will emit corresponding C source as its output. This may not be freely available, though?. maanantaina 26. maaliskuuta 2012 22.16.01 UTC+3 an...@att.net kirjoitti: > But the power of GNU GCC and GNAT is that you can add code for any > processor you want. There are some infomation on the web that will > help in adding a new target processor. Maybe this might be the easiest path to follow. Although GNAT implements full Ada language, it might be able to define smaller subset that the front-end and/or back-end will support for given target C language. There is also GPL Ada to C/C++ translator, but I have not looked at this yet: http://adatoccpptranslator.free.fr/ It seems that this tool is mainly aimed to aid the process of translating existing Ada source code to C/C++. However, the GPL'd source code is available. Br, Kalvin