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: 103376,6d79efdb8dde2c5a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!feeder.news-service.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!not-for-mail From: =?iso-8859-15?Q?Yannick_Duch=EAne_=28Hibou57=29?= Newsgroups: comp.lang.ada Subject: Re: SPARK : third example for Roesetta - reviewers welcome Date: Mon, 16 Aug 2010 18:55:51 +0200 Organization: Ada At Home Message-ID: References: <589eea9a-0b14-4ae5-bf62-9abf4b33e7fb@i31g2000yqm.googlegroups.com> <82mxsnuhbq.fsf@stephe-leake.org> NNTP-Posting-Host: k3GxHhLOzON8NRi+WQWeSw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; 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.61 (Win32) Xref: g2news1.google.com comp.lang.ada:13417 Date: 2010-08-16T18:55:51+02:00 List-Id: Le Mon, 16 Aug 2010 10:37:36 +0200, Phil Thornley = a =E9crit: > 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. My personal opinion about user rules kept apart, my fear is that externa= l = files would make it look more like a tool than a language, or at least n= ot = as easy to track as any other language. Separation of spec and body in o= ne = common thing, adding a third file while examples show proofs can also = appears in source as well, would be strange (sometime here, sometime = there). Moreover, don't forget that SPARK and its annotation are a = language, and Praxis Examiner/Simplifier are a particular implementation= = of SPARK. The only one at the time, I know, but still a particular = implementation. User rules are by the way not even described in the SPAR= K = LRM. Just to compare, I did not saw any kind of external resource files at th= is = wiki. If at least if this could be located in the same directory as the = source... but this have to be located at some place which depends on som= e = SPARK configuration.