From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: GNAT and user-defined aspects and pragmas?
Date: Fri, 13 Nov 2015 11:03:55 +0100
Date: 2015-11-13T11:03:55+01:00 [thread overview]
Message-ID: <n24ce3$ngc$1@dont-email.me> (raw)
In-Reply-To: <n22p1b$66h$1@loke.gir.dk>
Le 12/11/2015 20:24, Randy Brukardt a écrit :
>> With your interpretation, we wouldn't be able to compile SPARK 2014
>> > programs with anything but GNAT - even when some of AdaCore's
>> > competitors release an Ada 2012 compiler.
> Definitely. Since the SPARK aspects include some additional syntax, I can't
> see any way that it would be possible for a compiler that doesn't know about
> SPARK (say Janus/Ada) to compile a SPARK program. To the extent that SPARK
> annotations aren't significant to the semantics of the program, they
> probably should have been pragmas. But since AdaCore doesn't
> understand/believe in the difference, you'll have to remove them. That
> should be easy with a tool (it's a simple syntax transformation). [Of
> course, someone has to write the tool.]
Count me in!
(i.e.: I am preparing a new release of AdaSubst; adding that feature
would be really easy).
--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr
next prev parent reply other threads:[~2015-11-13 10:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-10 13:28 GNAT and user-defined aspects and pragmas? Jacob Sparre Andersen
2015-11-10 19:53 ` Dennis Lee Bieber
2015-11-11 9:29 ` Jacob Sparre Andersen
2015-11-12 19:24 ` Randy Brukardt
2015-11-12 20:37 ` Shark8
2015-11-12 21:42 ` Randy Brukardt
2015-11-13 10:03 ` J-P. Rosen [this message]
2015-11-11 11:14 ` Simon Wright
2015-11-12 19:27 ` Randy Brukardt
2015-11-13 8:51 ` J-P. Rosen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox