[comp.lang.ada] Pretty printer for Ada

dugal@neon.Stanford.EDU (Douglas S. Gray) (04/10/91)

  Does anyone know of any utilities to format Ada source code?  I'm
interested in either public-domain or commercial software.  Thanks for
the info.

jls@rutabaga.Rational.COM (Jim Showalter) (04/12/91)

We offer an interactive compilation facility in which you edit in place,
format, semanticize, compile, debug--all on the same image of the same
file. Formatting options can be toggled by the user to adjust things
like indentation, colon alignment, etc. Performance is real-time: you
press the key and the image is formatted typically before you can take
your finger off the key.

This isn't a stupid macro-based language-sensitive editor. In those you
use it or lose it (move the cursor and all bets are off). Ours really
is an editor integrated with the front end of our Ada compiler, and it
produces DIANA under the covers, as you type.
--
* The opinions expressed herein are my own, except in the realm of software *
* engineering, in which case I borrowed them from incredibly smart people.  *
*                                                                           *
* Rational: cutting-edge software engineering technology and services.      *