comp.lang.ada
 help / color / mirror / Atom feed
From: jcn@swl.msd.ray.com (John Norcross {83602})
Subject: Re: Pretty Printer for Ada 95?
Date: 1998/05/15
Date: 1998-05-15T00:00:00+00:00	[thread overview]
Message-ID: <6jhfmr$46j@swlpbb.msd.ray.com> (raw)
In-Reply-To: 6jfgsd$si3$1@cnn.Princeton.EDU


mcc@tyrolia.cs.princeton.edu (Martin C. Carlisle) writes:

>In article <6jc93b$k69@saturn.brighton.ac.uk>,
>John English <je@bton.ac.uk> wrote:
>>Stefan Bellon (bellonsn@trick.informatik.uni-stuttgart.de) wrote:
>>: Is there any Ada Pretty Printer for Ada 95 available which has all the
>>: features that the NAPP (NASA Ada Pretty Printer) for Ada 83 has?
>>
>>Not as such AFAIK, but GnatIDE (ftp://ftp.bton.ac.uk/pub/je/gnide08.zip)
>>includes a reformatter (Tools menu --> Reformat) which does a fairly
>>basic job -- the source (in Delphi) is included, and the IDE itself
>>runs under Win95/NT. Feel free to carve out the code and translate it
>>into Ada, and send me a copy when you're done... ;-)

>Another possibility is to get the reformatter from AdaGIDE (written in
>Ada).  I am unfamiliar with NAPP, but I imagine this is more limited.
>See ftp://ftp.usafa.af.mil/pub/dfcs/carlisle/reformat/format.zip for
>complete source.

>--Martin
>-- 
>Martin C. Carlisle, Computer Science, US Air Force Academy
>mcc@cs.usafa.af.mil, http://www.usafa.af.mil/dfcs/bios/carlisle.html
>DISCLAIMER:  This content in no way reflects the opinions, standard or 
>policy of the US Air Force Academy or the United States Government.

Yet another possibility is to use GRASP.  It does a great job of 
adding optional line numbers, page numbers/heading, and control 
structure diagrams to your source.  (I find the CSD's especially useful).
It prints to postscript printers and allows you to choose what size 
font to utilize for both display and printing.  Best of all, it is 
free and available on many platforms - both PC based and UNIX flavors.  
Although it is really more a development environment for GNAT (and a 
really good one!) than a pretty printer, it can be used as one on not
only Ada but also C, C++, and Java source.  (From either the command line
or from within GRASP itself).  Check it out here:

  http://www.eng.auburn.edu/department/cse/research/grasp/

Regards,

John


------------------------------------------------------------------------
|John Norcross | EFOGM Huntsville | 205.772.4795 | jcn@swl.msd.ray.com |
------------------------------------------------------------------------
|  "A touchstone to determine the actual worth of an 'intellectual' -  |
|  find out how he feels about astrology."  - Lazarus Long (RAH)       |
------------------------------------------------------------------------





  reply	other threads:[~1998-05-15  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-12  0:00 Pretty Printer for Ada 95? Stefan Bellon
1998-05-13  0:00 ` John English
1998-05-14  0:00   ` Martin C. Carlisle
1998-05-15  0:00     ` John Norcross {83602} [this message]
1998-05-22  0:00   ` TConiam
1998-05-23  0:00     ` Stefan Bellon
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox