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,d2fdf39976bd1585 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!koehntopp.de!news.unit0.net!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Thu, 25 May 2006 14:36:12 +0200 From: Georg Bauhaus Organization: elsewhere User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: ANN: Ada source code decorator References: <447306ee$0$11066$9b4e6d93@newsread4.arcor-online.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4475a4aa$0$11072$9b4e6d93@newsread4.arcor-online.net> NNTP-Posting-Date: 25 May 2006 14:35:55 MEST NNTP-Posting-Host: f51c17dc.newsread4.arcor-online.net X-Trace: DXC=UL8_gK5lChd?m49DcKk?Rn:ejgIfPPlddjW\KbG]kaMh]kI_X=5KeafokT[4R<=ZKbhP3YJKgE\jlfQ`E@Y258LaA14d]]KebZk X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:4454 Date: 2006-05-25T14:35:55+02:00 List-Id: Jeffrey R. Carter wrote: > Stephen Leake wrote: >> >> I don't see how that is remotely possible. The whole point of ASIS is >> to access the knowledge the compiler has about the source. Thus the >> compiler has to provide functions to access that knowledge. The compiler could provide a representation of its knowledge of the source that uses XML. For example, internal trees (or graphs), where the nodes carry information not only about names, etc, but also about representations. Trees, or groves, are an ideal candidate for XML based representation because an XML document instance is a tree or graph, and XML based tools are made for working on these. In fact, ASIS and XML use almost the same wording, e.g. element trees. > The point of ASIS is to provide a standard way to access information > about the source that the compiler has saved. The format of this > information is not specified. I suspect Wright is hoping an Ada-0X > version of ASIS will specify the format, using XML. If ASIS were to provide a set of XML element definitions, these could be used to write transformations to and from XMI, easing the use of Ada with some OOD tools. Getting a sorted index of all tagged types in a program will then be very easy with XML tools: just declare the corresponding XPath choice and employ XSL's sort and key functions. Done. Which leads me to a question: Is there a set of "ASIS items" that you use frequently? Items that could be useful when represented using XML, even when the Ada information contained therein is limited? -- Georg