comp.lang.ada
 help / color / mirror / Atom feed
* Pretty Print utility?
@ 1998-09-29  0:00 Randy Wentworth
  1998-09-29  0:00 ` Jacob Sparre Andersen
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Randy Wentworth @ 1998-09-29  0:00 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

Does anyone know of a Unix (Solaris) based Ada95 sensitive formatting
and "pretty print" utility? We're using the GreenHills toolset and it
doesn't have anything like this.

Thanks in advance.

-Randy Wentworth
rwent@ti.com


[-- Attachment #2: Card for Wentworth, Randy --]
[-- Type: text/x-vcard, Size: 330 bytes --]

begin:          vcard
fn:             Randy Wentworth
n:              Wentworth;Randy
org:            Raytheon Systems Corp., Strike Weapons
email;internet: rwent@ti.com
title:          Sr. Software Engineer
note:           "Imagine wirled peas"
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Pretty Print utility?
  1998-09-29  0:00 Pretty Print utility? Randy Wentworth
@ 1998-09-29  0:00 ` Jacob Sparre Andersen
  1998-09-30  0:00   ` Jean-Etienne Doucet
  1998-09-30  0:00   ` Samuel Tardieu
  1998-09-30  0:00 ` Pascal Obry
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 9+ messages in thread
From: Jacob Sparre Andersen @ 1998-09-29  0:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 835 bytes --]

Randy Wentworth (rwent@ti.com) asked:

: Does anyone know of a Unix (Solaris) based Ada95 sensitive formatting
: and "pretty print" utility? We're using the GreenHills toolset and it
: doesn't have anything like this.

There is GRASP (see
<URL:http://www.eng.auburn.edu/department/cse/research/grasp/>), which
is rather advanced, and a2ps (I don't know where to get it), which
generates syntax highlighted PostScript output.

Greetings,

Jacob

----------------------------------------------------------------------------
--  Jacob Sparre Andersen     --  E-mail: Jacob.Sparre.Andersen@risoe.dk  --
--  National Laboratory Ris�  --  Phone.: (+45) 46 77 51 23               --
--  Systems Analysis          --  Fax...: (+45) 46 77 51 99               --
----------------------------------------------------------------------------




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Pretty Print utility?
  1998-09-29  0:00 Pretty Print utility? Randy Wentworth
  1998-09-29  0:00 ` Jacob Sparre Andersen
@ 1998-09-30  0:00 ` Pascal Obry
  1998-09-30  0:00 ` dennison
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Pascal Obry @ 1998-09-30  0:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 331 bytes --]


Randy Wentworth a �crit dans le message <36110A1B.C0179067@ti.com>...
>Does anyone know of a Unix (Solaris) based Ada95 sensitive formatting
>and "pretty print" utility? We're using the GreenHills toolset and it
>doesn't have anything like this.
>
>Thanks in advance.
>
>-Randy Wentworth
>rwent@ti.com
>
>

EMACS.

Pascal.






^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Pretty Print utility?
  1998-09-29  0:00 ` Jacob Sparre Andersen
@ 1998-09-30  0:00   ` Jean-Etienne Doucet
  1998-10-03  0:00     ` Chris Warwick
  1998-09-30  0:00   ` Samuel Tardieu
  1 sibling, 1 reply; 9+ messages in thread
From: Jean-Etienne Doucet @ 1998-09-30  0:00 UTC (permalink / raw)


In article <6uri61$1c30$1@news.net.uni-c.dk>, sparre@meyer.fys.ku.dk (Jacob Sparre Andersen) writes:

| There is GRASP (see
| <URL:http://www.eng.auburn.edu/department/cse/research/grasp/>), which
| is rather advanced, and a2ps (I don't know where to get it), which
| generates syntax highlighted PostScript output.
| 
| Greetings,
| 
| Jacob


a2ps can be found at http://www.inf.enst.fr/~demaille/a2ps/
and its authors at Akim.Demaille@inf.enst.fr and Miguel.Santana@st.com

a2ps is for output only (to printer or ps file)... 

JED.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Pretty Print utility?
  1998-09-29  0:00 ` Jacob Sparre Andersen
  1998-09-30  0:00   ` Jean-Etienne Doucet
@ 1998-09-30  0:00   ` Samuel Tardieu
  1 sibling, 0 replies; 9+ messages in thread
From: Samuel Tardieu @ 1998-09-30  0:00 UTC (permalink / raw)


Jacob> [...] and a2ps (I don't know where to get it), which generates
Jacob> syntax highlighted PostScript output.

The home page of a2ps is:

         http://www.inf.enst.fr/~demaille/a2ps

It is in the process of being moved onto www.gnu.org, since a2ps just
became an official part of the GNU project.

  Sam
-- 
Samuel Tardieu -- sam@ada.eu.org




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Pretty Print utility?
  1998-09-29  0:00 Pretty Print utility? Randy Wentworth
  1998-09-29  0:00 ` Jacob Sparre Andersen
  1998-09-30  0:00 ` Pascal Obry
@ 1998-09-30  0:00 ` dennison
  1998-10-01  0:00 ` Jeff Burns
  1998-10-07  0:00 ` Kevin Grover
  4 siblings, 0 replies; 9+ messages in thread
From: dennison @ 1998-09-30  0:00 UTC (permalink / raw)


In article <36110A1B.C0179067@ti.com>,
  Randy Wentworth <rwent@ti.com> wrote:
> Does anyone know of a Unix (Solaris) based Ada95 sensitive formatting
> and "pretty print" utility? We're using the GreenHills toolset and it
> doesn't have anything like this.

One possibility would be to bring it up in a recent version of Emacs, change
to Ada mode, and do a "Pretty Print Buffer" from the Ada menu.

On NT that doesn't work for some reason. There I would do an "Adjust Case
Buffer" followed by hitting "home" and "end", then doing an "Indent Lines in
Region".

If you have a color printer, you can also turn on font-lock mode. That allows
you to do a postscript print right from emacs that will have keywords,
comments, and strings color highlited.

As with the output of any reformatting tool, you will need to check the
generated output by hand, so you can fix instances where the tool got
confused.

--
T.E.D.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Pretty Print utility?
  1998-09-29  0:00 Pretty Print utility? Randy Wentworth
                   ` (2 preceding siblings ...)
  1998-09-30  0:00 ` dennison
@ 1998-10-01  0:00 ` Jeff Burns
  1998-10-07  0:00 ` Kevin Grover
  4 siblings, 0 replies; 9+ messages in thread
From: Jeff Burns @ 1998-10-01  0:00 UTC (permalink / raw)


>Does anyone know of a Unix (Solaris) based Ada95 sensitive formatting
>and "pretty print" utility? We're using the GreenHills toolset and it
>doesn't have anything like this.


Randy,

This is our specialty.  Ada-ASSURED was used by the Software Productivity
Consortium to check and format all of the examples provided in the Ada 95
Quality and Style Guidelines for Professional Programmers.

Please see http://www.grammatech.com/products/ada/ada-products.html.
for more information or call me at 607-273-7340 if you'd like a demo CD.

Jeff Burns

<><><><><><><><><><><><><><><><><><>
Jeff Burns, Director of Marketing
GrammaTech, Inc.
One Hopkins Place
Ithaca, NY 14850
ph: 607-273-7340
fax: 607-273-8752
e-mail: jeff@grammatech.com
www: http://www.grammatech.com
Team Ada
<><><><><><><><><><><><><><><><><><>
Ada-ASSURED
LSE
Automatic Style Standards Compliance
Browser
QA Tool
Code Transformer
"Cure for the Common Code"
<><><><><><><><><><><><><><><><><><>










^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Pretty Print utility?
  1998-09-30  0:00   ` Jean-Etienne Doucet
@ 1998-10-03  0:00     ` Chris Warwick
  0 siblings, 0 replies; 9+ messages in thread
From: Chris Warwick @ 1998-10-03  0:00 UTC (permalink / raw)


ftp://ftp.cdrom.com/pub/ada/swtools/grasp/unix/




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Pretty Print utility?
  1998-09-29  0:00 Pretty Print utility? Randy Wentworth
                   ` (3 preceding siblings ...)
  1998-10-01  0:00 ` Jeff Burns
@ 1998-10-07  0:00 ` Kevin Grover
  4 siblings, 0 replies; 9+ messages in thread
From: Kevin Grover @ 1998-10-07  0:00 UTC (permalink / raw)


Look for GNU Enscript

	http://www.ngs.fi/mtr/genscript/		Home Page

	or as '*enscript*' on your favorite GNU archive

It does, Ada, C, Pascal, etc., etc., etc., etc.

Can also convert to RTF for inclusion in PC
Documentation/Presentation.  It does color highlighting.  GRASP does
no structural highlighting (but no color printing)

- kev



Randy Wentworth <rwent@ti.com> wrote:

>Does anyone know of a Unix (Solaris) based Ada95 sensitive formatting
>and "pretty print" utility? We're using the GreenHills toolset and it
>doesn't have anything like this.
>
>Thanks in advance.
>
>-Randy Wentworth
>rwent@ti.com





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1998-10-07  0:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-29  0:00 Pretty Print utility? Randy Wentworth
1998-09-29  0:00 ` Jacob Sparre Andersen
1998-09-30  0:00   ` Jean-Etienne Doucet
1998-10-03  0:00     ` Chris Warwick
1998-09-30  0:00   ` Samuel Tardieu
1998-09-30  0:00 ` Pascal Obry
1998-09-30  0:00 ` dennison
1998-10-01  0:00 ` Jeff Burns
1998-10-07  0:00 ` Kevin Grover

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