From: Peter Amey <peter.amey@praxis-cs.co.uk>
Subject: Re: Ada and Design By Contract
Date: Mon, 24 Mar 2003 10:56:48 +0000
Date: 2003-03-24T10:56:48+00:00 [thread overview]
Message-ID: <3E7EE470.5030807@praxis-cs.co.uk> (raw)
In-Reply-To: d37844cb.0303231055.610fead@posting.google.com
Volkert wrote:
> Some time ago in c.l.a. was a discussion on
> adding Assertions (preconditions, postconditions
> and invatiants) to Ada 95.
>
> - what is the current status?
> - who is working on this topic
> - who is interested in Dbc for Ada
>
> Volkert
To keept this thread under some sort of control, I suggest we agree a
clear distinction between contracts enforced at run time (by the
evaluation of checks and, typically, the raising of exceptions if the
contract is vilated) and contracts enforced statically, prior to
execuation (typically using proof technology).
As Lutz has pointed out in an earlier reply, SPARK certainly provides
the latter and has done for some years.
There have been some proposals for run-time assertions in Ada 0Y
although many participants in the review process have found them
wanting. The big problem here is that the really interesting
contractual claims may involve items not visible at the point where the
contract is being checked (unless the code is rewritten with reduced
abstraction to make them visible).
Peter
next prev parent reply other threads:[~2003-03-24 10:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-23 18:55 Ada and Design By Contract Volkert
2003-03-24 9:41 ` Lutz Donnerhacke
2003-03-24 10:56 ` Peter Amey [this message]
2003-03-24 17:40 ` Volkert
2003-03-24 20:11 ` Lutz Donnerhacke
2003-03-25 8:04 ` Volkert
2003-03-25 8:25 ` Peter Amey
2003-03-25 9:55 ` Colin Paul Gloster
2003-03-25 10:09 ` Peter Amey
2003-03-26 9:00 ` Volkert
2003-03-26 9:00 ` Volkert
2003-03-26 9:38 ` Peter Amey
2003-03-26 19:00 ` Randy Brukardt
2003-03-26 19:32 ` Jeffrey Carter
2003-03-27 6:59 ` Volkert
2003-03-25 10:44 `
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox