comp.lang.ada
 help / color / mirror / Atom feed
From: "G.B." <bauhaus@futureapps.invalid>
Subject: Re: Building Matreshka on Windows
Date: Thu, 3 Nov 2016 19:42:21 +0100
Date: 2016-11-03T19:42:21+01:00	[thread overview]
Message-ID: <nvg0dj$m6l$1@dont-email.me> (raw)
In-Reply-To: <lyeg2s8nbd.fsf@pushface.org>

On 03.11.16 18:50, Simon Wright wrote:


> The fix was (cut back not to bore you)
>
>      <version>
>        <external>${PREFIX}gnatls -v --version</external>
> -      <grep regexp="^GNATLS.+?(\d+(\.\d+)?)" group="1"></grep>
> +      <grep regexp="^GNATLS.+?(\d+)" group="1"></grep>
>      </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


  reply	other threads:[~2016-11-03 18:42 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02 21:29 Building Matreshka on Windows Shark8
2016-11-03  8:18 ` Dmitry A. Kazakov
2016-11-03 15:32   ` Olivier Henley
2016-11-03 16:10     ` Dmitry A. Kazakov
2016-11-03 17:50       ` Simon Wright
2016-11-03 18:42         ` G.B. [this message]
2016-11-04  8:55           ` Simon Wright
2016-11-04  9:19             ` G.B.
2016-11-03 18:02       ` Olivier Henley
2016-11-03 20:18         ` Dmitry A. Kazakov
2016-11-03 22:39           ` gautier_niouzes
2016-11-04  8:28             ` Dmitry A. Kazakov
2016-11-04  8:57           ` G.B.
2016-11-04  9:29             ` Dmitry A. Kazakov
2016-11-04 13:28               ` Simon Wright
2016-11-04 16:08                 ` Dmitry A. Kazakov
2016-11-04 18:14                   ` Simon Wright
2016-11-04 16:37                 ` Jeffrey R. Carter
2016-11-04 18:19                   ` Simon Wright
2016-11-07  8:39                   ` Jacob Sparre Andersen
2016-11-07  8:50                     ` Simon Wright
2016-11-07  9:03                       ` Jacob Sparre Andersen
2016-11-29 15:22 ` Maxim Reznik
2016-11-29 23:49   ` Shark8
2016-11-30 11:45     ` Maxim Reznik
replies disabled

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