From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Spark and the Ada numerics annex
Date: Tue, 10 Aug 2010 13:40:18 +0200
Date: 2010-08-10T13:40:18+02:00 [thread overview]
Message-ID: <op.vg7z1gcmxmjfy8@garhos> (raw)
In-Reply-To: fd1a6c95-8c93-4091-97cb-24727ec87abd@w30g2000yqw.googlegroups.com
Le Tue, 10 Aug 2010 12:53:01 +0200, Ada novice <ycalleecharan@gmx.com> a
écrit:
>> You can create a "shadow" specification of the various Numerics
>> packages to get at their facilities. See section 13.1 of the book
>> on Shadows.
>> - Rod, SPARK Team
>
> Thanks for this information. I don't have the book yet and I have been
> looking only at the first chapter which is freely available. I'll
> study this section when I get the book.
You can already get an idea right know (although the Barnes is still a
must have recommended reading), if you have a look at this AdaGem :
http://www.adacore.com/2010/02/25/gem-80/
Basically, this is re-interfacing things so that SPARK does not get angry
with what it sees.
By the way, this is a natural strategy, ... sure you would have though
about it yourself. I've discovered this is named "shadow specification"
just at the moment, reading Rod. I did not knew before this had this name.
--
There is even better than a pragma Assert: a SPARK --# check.
--# check C and WhoKnowWhat and YouKnowWho;
--# assert Ada;
-- i.e. forget about previous premises which leads to conclusion
-- and start with new conclusion as premise.
next prev parent reply other threads:[~2010-08-10 11:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-10 8:48 Spark and the Ada numerics annex Ada novice
2010-08-10 10:18 ` Rod Chapman
2010-08-10 10:53 ` Ada novice
2010-08-10 11:40 ` Yannick Duchêne (Hibou57) [this message]
2010-08-10 12:09 ` Yannick Duchêne (Hibou57)
2010-08-10 12:28 ` Ada novice
2010-08-10 13:04 ` Yannick Duchêne (Hibou57)
2010-08-10 13:57 ` Ada novice
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox