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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Building Matreshka on Windows Date: Thu, 3 Nov 2016 19:42:21 +0100 Organization: A noiseless patient Spider Message-ID: References: <3c41f737-a1d9-40a5-aea3-08c4b61baaa8@googlegroups.com> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 3 Nov 2016 18:41:55 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="5a4592aa72c9a324036c0a253960bd28"; logging-data="22741"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194F0+0s6wS1/15/+rlcEvCSQhrvN6vU0I=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 In-Reply-To: Cancel-Lock: sha1:12SSoyHvkEB/KOI+/bwsrkeNgqo= Xref: news.eternal-september.org comp.lang.ada:32232 Date: 2016-11-03T19:42:21+01:00 List-Id: On 03.11.16 18:50, Simon Wright wrote: > The fix was (cut back not to bore you) > > > ${PREFIX}gnatls -v --version > - > + > Two things I find puzzling when I see this setup: 1 - why would compiler writers parse version strings using REs that can fail in ways that I'd be tempted to call classic when their core business actually depends on well working parsers? 2 - what makes compiler writers not use their languages' powers for communicating the information between processes in a structured way, with ease? Business angst? After a few years of seeing version identifiers change in seemingly arbitrary ways, I am convinced that the technically relevant information should be communicated using some protocol to be endorsed by all parties involved. Making version identifiers reflect hacks rarely works for all parties. One of the few micro formats that seem to work without AI is, I guess, ISO date strings. The "ISO" part should ring a bell or two. > I'm very pleased that, since GPRBUILD 2016, I can use e.g. > > for Target use "arm-eabi"; > for Runtime ("ada") use "ravenscar-sfp-stm32f4"; > > in the GPR instead of having to specify on the command line. > -- "HOTDOGS ARE NOT BOOKMARKS" Springfield Elementary teaching staff