comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: List of Negative Language rules?
Date: Sun, 05 Aug 2012 22:17:30 +0300
Date: 2012-08-05T22:17:30+03:00	[thread overview]
Message-ID: <a87v68F7njU1@mid.individual.net> (raw)
In-Reply-To: <CC444EAD.1AC71%yaldnif.w@blueyonder.co.uk>

On 12-08-05 18:24 , Bill Findlay wrote:
> On 05/08/2012 15:39, in article
> e6963165-d99c-4b35-be88-b9f7aa8d5f4a@googlegroups.com, "Patrick"
> <patrick@spellingbeewinnars.org> wrote:
> 
>>
>> Does anyone happen to know if there is a list of negative language rules? If
>> not I could try to re-read the book and compile a list. I think it would make
>> for a good cheat sheet to paste to the wall to avoid programming errors.
> 
> Trying to beat Dmitry to it: there is an infinity of negative rules.
> You would need to use Hilbert paper. 8-)
> 
> More seriously: have you seen the Ada Rationale?

Also, if you happen to wonder /why/ a certain negative rule exists, the
"Annotated" version of the Ada RM often explains it. For example, the
rule forbidding access parameters for task entries is explained in
http://www.ada-auth.org/standards/12aarm/html/AA-9-5-2.html (paragraphs
13a-13e). Unfortunately, to understand the explanation one often needs
to have a bit of language-lawyer background knowledge.

There are two common reasons for "negative" rules: (1) The forbidden
thing does not really make sense, or (2) It would be too difficult or
impossible to implement it efficiently (at least in the current compilers).

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
      .      @       .



  parent reply	other threads:[~2012-08-05 19:17 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-05 14:39 List of Negative Language rules? Patrick
2012-08-05 15:24 ` Bill Findlay
2012-08-05 15:43   ` Patrick
2012-08-05 19:17   ` Niklas Holsti [this message]
2012-08-05 16:02 ` Nasser M. Abbasi
2012-08-05 16:14   ` Patrick
2012-08-06  2:56     ` Randy Brukardt
2012-08-05 16:33 ` Yannick Duchêne (Hibou57)
2012-08-05 17:10   ` Patrick
2012-08-05 18:07 ` Vasiliy Molostov
     [not found] ` <p6ft18dvj55o0h1j3af7ic08f2omoc1j20@invalid.netcom.com>
2012-08-05 19:25   ` Niklas Holsti
2012-08-05 23:35     ` Patrick
2012-08-06  0:07       ` Vasiliy Molostov
2012-08-06  0:26         ` Patrick
2012-08-06  1:04           ` Vasiliy Molostov
2012-08-06  1:33             ` Patrick
2012-08-06  2:57           ` Randy Brukardt
2012-08-06  3:21             ` Patrick
2012-08-09 21:24               ` Randy Brukardt
2012-08-09 22:00                 ` Patrick
2012-08-06  2:51       ` 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