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,473e6b129c2f30cd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread4.news.pas.earthlink.net.POSTED!56fb6cac!not-for-mail From: "Marc A. Criley" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: ANNOUNCE: Avatox 1.0 is now available References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 24 Aug 2006 00:41:18 GMT NNTP-Posting-Host: 4.255.243.216 X-Complaints-To: abuse@earthlink.net X-Trace: newsread4.news.pas.earthlink.net 1156380078 4.255.243.216 (Wed, 23 Aug 2006 17:41:18 PDT) NNTP-Posting-Date: Wed, 23 Aug 2006 17:41:18 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: g2news2.google.com comp.lang.ada:6330 Date: 2006-08-24T00:41:18+00:00 List-Id: Simon Wright wrote: > I took the view that would look better as > throughout. I try to adopt the prevailing style and idioms of a given programming or similar such language, hence the camelBack no underscore approach. > There are also some interesting choices about which aspects to map > into attributes and which into child elements, and indeed on the whole > mapping to be used. Basically, I mapped literals into attributes, like identifiers, operators, numbers, and such. There are other possibilities, but I didn't want to have to maintain any kind of info stack to know what value to associate with a previous or subsequent element. Like A_CLAUSE could've had the kind of clause--"with", "usePackage"--as an attribute. Here it's all done in a single pass with no look back or look-ahead. > Do you support multi-unit environments? The current release of Avatox only processes the single compilation unit provided to it. Extending that to a closure probably wouldn't be that hard. The Avatox XML Format (AXF) would support multiple units as-is (v1.1 and beyond), you just keep adding them in. > Do you think there'd be a future in offering at least the concept to > the ASIS team? I'm a little unclear on what concept you're referring to...an XML definition for Ada? > As a demo of the sort of thing one can do, we found it pretty > straightforward to generate a report ... The analysis and reporting aspect is definitely one area for Avatox, using stylesheets just as you've done. My focus though is more on "Transformation & Vivification", i.e., transforming the XML representation using XML-enabled technologies and then bringing the result to life by some means, whether that be converting the XML back to Ada source code, or compiling it directly, or through some other animation. I'm experimenting and watching to see where this goes... -- Marc A. Criley -- Mckae Technologies -- www.mckae.com -- DTraq - Avatox - XIA - XML EZ Out