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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-28 03:54:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed.hanau.net!news-fra1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X Date: Wed, 28 May 2003 10:54:51 +0000 (UTC) Organization: GMUGHDU Message-ID: References: NNTP-Posting-Host: d2-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1054119291 5221 134.91.1.15 (28 May 2003 10:54:51 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Wed, 28 May 2003 10:54:51 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/831)) Xref: archiver1.google.com comp.lang.ada:37891 Date: 2003-05-28T10:54:51+00:00 List-Id: Robert C. Leif wrote: : XML has formalized multiline comments. : .................... No it hasn't, only the schema fans have aggreed on annotation and documentation element types in Part 0 of the XSD. I think annotations in a language are a good idea, but this form, IMO, renders *non-tool-based* document type design, or document type study, even less feasable by a human. Humans are much more important when it comes to data descriptionthan omputing machines, aren't they? Domain specifics cannot easily be handled by (essentially) numbers of bits... Luckily, there is RELAX NG. : Therefore by analogy, one could create annotation and documentation types in : Ada. These could be implemented as bounded strings. This would permit the : compiler and tools like ASIS to have knowledge about the documentation. How about a pragma like function foo(bar: String) return Natural; pragma Short_Description(foo, "the number of foos in bar"); georg