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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,23c0de5a42cf667e X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!news3.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: GNAT packages in Linux distributions Date: Thu, 27 May 2010 14:26:25 +0200 Organization: Ada At Home Message-ID: References: <87mxw9x7no.fsf@ludovic-brenta.org> <16bz9kvbqa8y9$.155ntpwpwl29d.dlg@40tude.net> <4be97bea$0$2966$ba4acef3@reader.news.orange.fr> <1p87qdlnjbufg.127laayhrw9x3$.dlg@40tude.net> <4j73xhgimt6r$.pu55kne2p2w5$.dlg@40tude.net> NNTP-Posting-Host: VsdMw8HJ6uo7b6guDb/gnA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.53 (Win32) Xref: g2news2.google.com comp.lang.ada:12078 Date: 2010-05-27T14:26:25+02:00 List-Id: Le Thu, 27 May 2010 14:47:15 +0200, a = =C3=A9crit: > Notation is not such unimportant. > > And this is a bit more than just notation: You use different *tools* t= o > compile the program-while-ignoring-all-annotations and to check the > additional information provided by the annotations. This means, that > psychologically the information in the annotations appears to be the = > "less > important" stuff. Do not make this a rule, as this depends on one's expectations (so = receptivity to that what looks like his/her expectations). One who wish = = and expect what belongs to these annotations, will see these as importan= t = things. One who does not expect these annotations and may perhaps even = wish that would not exist (like a student working on an assignment) will= = see these as non so much important. This is a matter of receptivity. I was a bit wrong (did a shortcut) when I suggested =E2=80=9Cthis is jus= t = annotation=E2=80=9D, as I agree the form of an annotation is important f= or = readability. > E.g., a badly flawed SPARK program may still be compiled > by an Ada compiler, Yes > but a syntactically incorrect Ada-program will be > found flawed by the SPARK tools. Not a rule, as not all notations oriented language may check every thing= = of the host language. SPARK does, but I'm pretty sure not all do (I thin= k = we were talking about the general case here, not only about the SPARK = special case). -- = There is even better than a pragma Assert: a SPARK --# check. --# check C and WhoKnowWhat and YouKnowWho; --# assert Ada; -- i.e. forget about previous premises which leads to conclusion -- and start with new conclusion as premise.