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: 103376,6d79efdb8dde2c5a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: SPARK : third example for Roesetta - reviewers welcome References: <589eea9a-0b14-4ae5-bf62-9abf4b33e7fb@i31g2000yqm.googlegroups.com> <82mxsnuhbq.fsf@stephe-leake.org> Date: Mon, 16 Aug 2010 22:07:56 -0400 Message-ID: <82eidyt2ir.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:0388XLX8muXgg8ljWgR9xQVUj5g= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 379e04c69eeede029e66117159 Xref: g2news1.google.com comp.lang.ada:13441 Date: 2010-08-16T22:07:56-04:00 List-Id: Phil Thornley writes: > On 16 Aug, 08:50, Stephen Leake > wrote: > [...] >> >> The user rules are part of the SPARK source. The file names may not end >> in .ad?, but they are still source. >> >> Is there a way to get the Rosetta website to make that clear? > > It appears to be very simple (although I haven't tried to do anything > yet). The entry for a language consists of blocks (of text in any > format, although it does keyword colouring for known languages) that > can be called 'source' interspersed with any other text that can > explain the contents of the 'source' blocks. > > So there's no problem adding user rules, just the question of whether > that is a good idea or not. Of course it is; the point of the web site is to demonstrate how to solve problems in various languages. The SPARK language includes user rules; the problem is not solved without them. I thought the question was whether to use user rules in a non-Ada file, or Checks as SPARK annotations in an Ada file. Either way, they are an important part of the solution. -- -- Stephe