comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Ada to C translator for small microcontrollers
Date: Mon, 26 Mar 2012 17:20:27 +0100
Date: 2012-03-26T17:20:27+01:00	[thread overview]
Message-ID: <m2iphrxrjo.fsf@pushface.org> (raw)
In-Reply-To: 11915136.34.1332776935046.JavaMail.geo-discussion-forums@vbth14

Ludovic Brenta <ludovic@ludovic-brenta.org> writes:

> Niklas Holsti wrote on comp.lang.ada:
>> I think the realistic approach for an open-source implementation would 
>> be to take the existing GNAT front-end and try to generate C code from 
>> the intermediate representation, either the gcc IR or the llvm IR.
>
> That's a good thought. LLVM already comes with a C backend (i.e. a code
> generator that emits C rather than assembly).  I wonder how easy it would
> be to configure a toolchain based on the GNAT Ada front-end and this C
> back-end, bound together by LLVM's DragonEgg GCC plug-in.

Hmm, from [1], "The C backend has numerous problems and is not being
actively maintained. Depending on it for anything serious is not
advised."

[1] http://llvm.org/docs/ReleaseNotes.html#knownproblems



  reply	other threads:[~2012-03-26 16:20 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-26 12:48 Ada to C translator for small microcontrollers Tomi Saarnio
2012-03-26 13:44 ` Rego, P.
2012-03-26 14:14 ` Niklas Holsti
2012-03-26 15:48   ` Ludovic Brenta
2012-03-26 16:20     ` Simon Wright [this message]
2012-03-26 14:46 ` georg bauhaus
2012-03-26 19:16 ` anon
2012-03-27  9:46 ` kalvin.news
2012-03-27 17:22   ` anon
2012-03-27 20:13     ` kalvin.news
2012-03-28 14:29       ` KK6GM
2012-03-28 16:36       ` Niklas Holsti
2012-03-28 17:56         ` KK6GM
2012-03-28 21:03         ` Georg Bauhaus
2012-03-30 11:54           ` phil.clayton
2012-03-31 15:46         ` kalvin.news
2012-03-31 19:52           ` Rugxulo
2012-04-01 11:23             ` kalvin.news
2012-04-02 21:46             ` Niklas Holsti
2012-04-03  5:56               ` J-P. Rosen
2012-04-03  2:08 ` BrianG
2012-04-03  9:29   ` Georg Bauhaus
2012-05-21 10:35 ` kalvin.news
2012-05-21 12:27   ` Georg Bauhaus
2012-06-02 15:27     ` Marco
2012-06-05  9:18       ` kalvin.news
2012-06-05 12:17         ` Brian Drummond
2012-06-06  5:21           ` J-P. Rosen
2012-06-06 11:50             ` Brian Drummond
2012-06-10 15:41         ` Marco
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox