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,41cdd08c4c779b88 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-12 13:33:46 PST From: "Ira D. Baxter" Newsgroups: comp.lang.ada References: <3CDE88E1.70107@snafu.de> Subject: Re: Q: Generating Documenation from Ada Sources? Date: Sun, 12 May 2002 15:43:38 -0500 X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 NNTP-Posting-Host: t1-30.realtime.net Message-ID: <3cded1a9$1@giga.realtime.net> X-Trace: giga.realtime.net 1021235625 t1-30.realtime.net (12 May 2002 15:33:45 -0500) Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!ra.nrl.navy.mil!dca6-feed2.news.algx.net!allegiance!newsfeed1.cidera.com!Cidera!giga.realtime.net Xref: archiver1.google.com comp.lang.ada:23934 Date: 2002-05-12T15:43:38-05:00 List-Id: The DMS Software Reengineering Toolkit can parse Ada, build ASTs, and then use custom code to extract what you want. (It is kind of like ASIS, for a whole set of langauges; not as complete as ASIS wrt Ada, but more capable than ASIS in the DMS can actually change the source tree and the prettyprint the changed result. The latter capability isn't needed for documenation extraction). Part of the customization process can control how many syntax faults are acceptable before it gives up (at the price of getting a syntax tree with error insertions that might not make sense, but error recovery is a tough topic). For the original poster, who wants to extract certain information and then reformat the way he likes, I'd suggest extracting the information he needs and dumping as XML text. One can use XSLT to reshape the result pretty much as you like. This decouples extraction from formatting. See http://www.semdesigns.com/Products/DMS/DMSToolkit.html. -- Ira D. Baxter, Ph.D. CTO Semantic Designs, Inc. http://www.semdesigns.com wrote in message news:SWxD8.1171$fy5.65482852@newssvr21.news.prodigy.com... > The tool for Claw only requires the public part of specifications to be > parsable with an ayacc Ada grammar. The only semantic requirement I > recall is that things are assumed to be defined before use. > > It would be nice if there was a cut down, highly forgiving, version of > ASIS to handle incomplete programs or situations where a compiler bug > prevents compilation and thus prevents use of the current ASIS.