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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,19b6efa2ecebaed0 X-Google-Attributes: gid103376,public From: gicca@alsys.com (Greg Gicca @pulsar) Subject: Re: Ada95 Pretty-Printers Date: 1997/06/16 Message-ID: #1/1 X-Deja-AN: 248900886 Sender: news@thomsoft.com (USENET News Admin @flash) X-Nntp-Posting-Host: pulsar References: <339C58A6.4D5A@sprintmail.com> <339D677D.2FAC886C@link.com> <339DA006.228F@sprintmail.com> Organization: Aonix, San Diego, CA, USA Newsgroups: comp.lang.ada Date: 1997-06-16T00:00:00+00:00 List-Id: In <339DA006.228F@sprintmail.com> "John G. Volan" writes: >Samuel Mize wrote: >> >> John G. Volan wrote: >> > Are there any pretty-printers out there for Ada95? >> >> This seems to come up every so often, and the answer so far has >> been "not really." >> >> I would suppose that one could be built using the AdaMagic front >> end, but that's sheer speculation and I don't know how much it costs. >I've been toying with the thought of doing it using GNAT's front end ... >or maybe this would be a good application for ASIS ... hmm ... what's >the status of ASIS & GNAT? Gotta look that up ... Just a note on the use of ASIS here... ASIS is a great tool for developing all sorts of software tools that need various information on Ada source; stub generators, metrics evaluators, test case generators, etc. However, some data returned by ASIS is not identical to that which was originally supplied in the source code. One example might be named numbers or constant values. These may be stored simply as the value at any point of reference. Values specified using attributes may be stored as actual numeric values instead of the original source text, such as: Integer'First, Char'Pos, etc. Due to the above, an ASIS based pretty-printer may produce semanticlly equivelent code, but not the same source text as you might expect. Having said that I would be interested in any tools that might exist based on ASIS 2.0. I have several from ASIS 1.1 and would like to see what might exist for the new standard. Greg gicca@aonix.com