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: backlog1.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!news.stack.nl!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: ANN: Kickstarter for beginning work on a new open-source Compiler Date: Sat, 22 Mar 2014 17:20:05 +0100 Organization: Tidorum Ltd Message-ID: References: <5151491a-14c3-4138-bcb5-f29108aeefb9@googlegroups.com> <87txaqd28v.fsf@ludovic-brenta.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net FuqDQtgQQ4aYHDEA46Tm/A3dhizCPm2sn2ryDYPrE7GxSNbdqY Cancel-Lock: sha1:+oHi+ZWByFjr6KEgvrVOB3PbBC4= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: Xref: number.nntp.dca.giganews.com comp.lang.ada:185296 Date: 2014-03-22T17:20:05+01:00 List-Id: On 14-03-22 15:59 , Dirk Craeynest wrote: > In article , > Niklas Holsti wrote: >> The way you worded that suggests that Ada/Ed being an interpreter would >> have prevented using it to bootstrap GNAT, but of course that is not so. >> As long as *GNAT* was able to generate an executable, one could have >> used Ada/Ed to execute GNAT (albeit through interpretation) to compile >> the GNAT source code into an executable GNAT. > > You are right, of course. Thanks for correcting. > (I don't know where my mind was when I wrote that.) > > Dirk > > PS: It would've take "quite" some time to bootstrap, though... Certainly with the SETL version of Ada/Ed, yes. The C version might have been fast enough. But it occurs to me now that perhaps the interpreter nature of Ada/Ed was indeed an obstacle to GNAT bootstrapping, because, AIUI, only the front-end of GNAT is written in Ada; the rest is C/C++ from GCC. So Ada/Ed could execute only the front-end of GNAT. A bootstrap with Ada/Ed would have required a file-based (or piped) transfer of the intermediate output from the front-end to the back-end. I don't know if GCC already had some file-based intermediate representation; if not, it would have been extra work for the GNAT team to implement one. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .