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,e9fdaae478ceaa2e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-27 07:54:32 PST Path: newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Ira D. Baxter" Newsgroups: comp.lang.ada Subject: Re: BTW:ASIS (Looking for Ada source browser Date: Fri, 27 Apr 2001 09:59:52 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3ADFF58E.285042FF@esa.int> <9c8o2g$a5k$1@infosun2.rus.uni-stuttgart.de> <3AE809B3.899CAAD@earthlink.net> <9c9cdf$kf4$1@infosun2.rus.uni-stuttgart.de> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Complaints-To: newsabuse@supernews.com Xref: newsfeed.google.com comp.lang.ada:6977 Date: 2001-04-27T09:59:52-05:00 List-Id: The DMS Reengineering Toolkit is somewhat like ASIS, but works with many languages, including Ada. After parsing a language, it automatically builds trees, that are stamped with source file/line/column position information. It also retains comments, and formatting properties of literals (radix, leading zero count, etc.) Using the source line information, you could fetch the original source line. DMS can also prettyprint subtrees, either rearranging the text as a "beautifier", or preserving the text shape ("fidelity printing"), so you can reconstruct the line *without* going back to the file. DMS can also apply program transformations written in the source language syntax, before prettyprinting the final result. See http://www.semdesigns.com/Products/DMS/DMSToolkit.html. -- Ira D. Baxter, Ph.D. CTO Semantic Designs, Inc. http://www.semdesigns.com "Peter Hermann" wrote in message news:9c9cdf$kf4$1@infosun2.rus.uni-stuttgart.de... > Marc A. Criley wrote: > > Peter Hermann wrote: > >> How far does ASIS support references to source code lines > >> and their original preservation? > [snip] > > Are you asking if you can extract a line of source code text 'as > > written'? > yes: "as written", for purposes when there is a need to refer > to the very original source text.