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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.unit0.net!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!post02.fr7!fx16.fr7.POSTED!not-for-mail From: Brian Drummond Subject: Re: Ada platforms and pricing, was: Re: a new language, designed for safety ! Newsgroups: comp.lang.ada References: <1402308235.2520.153.camel@pascal.home.net> <85ioo9yukk.fsf@stephe-leake.org> <255b51cd-b23f-4413-805a-9fea3c70d8b2@googlegroups.com> <5ebe316d-cd84-40fb-a983-9f953f205fef@googlegroups.com> <2100734262424129975.133931laguest-archeia.com@nntp.aioe.org> <857442918424729589.090275laguest-archeia.com@nntp.aioe.org> User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: NNTP-Posting-Host: 62.49.20.82 X-Complaints-To: abuse@demon.net X-Trace: 1403092258 62.49.20.82 (Wed, 18 Jun 2014 11:50:58 UTC) NNTP-Posting-Date: Wed, 18 Jun 2014 11:50:58 UTC Date: Wed, 18 Jun 2014 11:50:58 GMT X-Received-Body-CRC: 2623810981 X-Received-Bytes: 3142 Xref: news.eternal-september.org comp.lang.ada:20428 Date: 2014-06-18T11:50:58+00:00 List-Id: On Wed, 18 Jun 2014 12:32:57 +0200, J-P. Rosen wrote: > Le 18/06/2014 09:09, Natasha Kerensikova a écrit : >> Anyway, I'm willing to contribute a lot of my free time to help a new >> free Ada compiler emerge, ideally a LLVM front-end written from scratch >> in Ada, bootstrapped by FSF GNAT, licenced under BSD or Apache or >> something like that. > > You may not have to start from scratch. Pick-up the Gela-ASIS project > (currently sleeping) and fix what's missing. That will give you a > stand-alone implementation of ASIS, that could be used to generate code > from. > > You may even find people at your working place to help you in such an > endeavour ;-) Also possibly worth looking at ghdl. It's not an Ada compiler, but a compiler, written in Ada, for a somewhat related language (VHDL). http://sourceforge.net/projects/ghdl-updates/ (disclaimer : I do a little - lately VERY little - on this project) Its author Tristan Gingold is now employed by Adacore so probably can't help a rival effort! Ghdl separates the front end and back end quite cleanly, with an intermediate representation ("ortho") which currently interfaces to any of: gcc, its own JIT compiler for i386 and recently, LLVM. LLVM caused some trouble; apparently it does not provide means to support nested (locally declared) subprograms, such as the chain of frame pointers (or alternatively display) to access the scope of outer subprograms. This may have been a stumbling block for other Ada/LLVM projects. Because VHDL supports multiple processes, ghdl leverages the support for these, to provide the chain of scopes. So one option may be to use part of this project as an adapter between Gela/Asis and LLVM. - Brian