From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,44b0b57dd5d8f69 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.106.199 with SMTP id gw7mr744749wib.0.1344194250269; Sun, 05 Aug 2012 12:17:30 -0700 (PDT) Path: q11ni59201648wiw.1!nntp.google.com!feed-C.news.volia.net!volia.net!news2.volia.net!feed-A.news.volia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: List of Negative Language rules? Date: Sun, 05 Aug 2012 22:17:30 +0300 Organization: Tidorum Ltd Message-ID: References: Mime-Version: 1.0 X-Trace: individual.net PApjS2tijR42UD0R55DJ7Q3kGUuqHS5VBr0hKPavj+I4i25LN7/CjKHJgUj/TP79gZ Cancel-Lock: sha1:4atNddwW4EdXptprvQ7CRORLxfs= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2012-08-05T22:17:30+03:00 List-Id: 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" > 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 . @ .