From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: Problems with SPARK 2015 and XMLAda
Date: Thu, 20 Aug 2015 09:10:44 +0200
Date: 2015-08-20T09:10:44+02:00 [thread overview]
Message-ID: <87mvxmjuyz.fsf@adaheads.sparre-andersen.dk> (raw)
In-Reply-To: 6952b70d-a9bc-4d0a-beb5-1cd38d6a3318@googlegroups.com
Serge Robyns wrote:
> Sadly I quickly abandoned SPARK [...]
> And I know many other things SPARK doesn't like, like exceptions [...]
One important purpose of SPARK is to avoid exceptions completely, so
yes.
> or access types.
Yes. Proving a program using access types to be correct is rather
difficult.
> So I guess it must dislike the standard containers too.
Yes, but there are containers for SPARK too.
In general, you can't use much of the *Ada* standard libraries with
SPARK, as they aren't annotated for correctness proofs.
If you want to program in SPARK, you shouldn't try to write Ada, and
then just run a tool, when you're done. You should read the SPARK LRM
(or a textbook on SPARK), and understand the language.
Greetings,
Jacob
--
"I have no prejudice except against Pakistanis, which is normal."
next prev parent reply other threads:[~2015-08-20 7:10 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-19 15:58 Problems with SPARK 2015 and XMLAda Serge Robyns
2015-08-19 20:21 ` Simon Wright
2015-08-19 21:22 ` Serge Robyns
2015-08-20 7:10 ` Jacob Sparre Andersen [this message]
2015-08-20 10:06 ` Mark Lorenzen
2015-08-20 16:38 ` Shark8
2015-08-20 18:42 ` Peter Chapin
2015-08-20 19:13 ` Jeffrey R. Carter
2015-08-20 20:00 ` Serge Robyns
2015-08-20 20:36 ` Randy Brukardt
2015-08-20 23:21 ` Shark8
2015-08-21 6:26 ` Stefan.Lucks
2015-08-21 7:30 ` Dmitry A. Kazakov
2015-08-21 8:19 ` Stefan.Lucks
2015-08-21 9:37 ` Dmitry A. Kazakov
2015-08-21 10:09 ` G.B.
2015-08-21 11:56 ` Dmitry A. Kazakov
2015-08-21 13:46 ` G.B.
2015-08-21 14:45 ` brbarkstrom
2015-08-21 15:34 ` Dmitry A. Kazakov
2015-08-21 23:44 ` Bob Duff
2015-08-22 6:22 ` Dmitry A. Kazakov
2015-08-21 10:43 ` Stefan.Lucks
2015-08-21 12:35 ` Dmitry A. Kazakov
2015-08-24 21:32 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox