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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,44b0b57dd5d8f69,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.88.5 with SMTP id bc5mr208031pab.11.1344445030136; Wed, 08 Aug 2012 09:57:10 -0700 (PDT) Path: g9ni14725674pbo.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!ihnp4.UCSD.Edu!nntp.ucr.edu!usenet.stanford.edu!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Patrick Newsgroups: comp.lang.ada Subject: List of Negative Language rules? Date: Sun, 5 Aug 2012 07:39:42 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 70.53.16.194 Mime-Version: 1.0 X-Trace: posting.google.com 1344177582 25106 127.0.0.1 (5 Aug 2012 14:39:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 5 Aug 2012 14:39:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.53.16.194; posting-account=cUi90woAAADTaOISowbbHM8GUD0-opJO User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-08-05T07:39:42-07:00 List-Id: This post is not a complaint and I hope it won't generate complaints about = the language, it is a request for help in organizing language constructs. Ada is a feature rich language but as we know it is neither trivial to lear= n or even more so, trivial to write a compiler for. One thing I am having a hard time with are all the negative rules. I am NOT= complaining about any of these but some very simple examples: Pre-Ada 2012 functions cannot take in parameters Functions cannot return concurrent types Tasks cannot return access parameters etc Again, I am not complaining, I am sure that all these sorts of rules have l= ogical reasons(some of which I already know about) but my concern is how ma= ny there are. I am just about finished the Barnes Ada 2005 book. I didn't c= ount but I betting there could be 100 of these sorts of rules though out th= e book. Does anyone happen to know if there is a list of negative language rules? I= f 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 error= s.