[comp.lang.ada] info wanted on prettyprinters for Ada code *fragments*

sdl@MITRE-BEDFORD.ARPA (Litvintchouk) (03/13/88)

Does anyone out there know of any prettyprinters (tools, algorithms,
etc.) that can prettyprint Ada code *fragments* (as opposed to
complete compilation units)?  

Reason: I use GNU Emacs to edit Ada code.  I would really like to be
able to add a "M-x prettyprint-region" command to Emacs' Ada mode, to
have just the region of Ada code I'm interested in get prettyprinted.
Such a prettyprinter would need to be able to parse Ada code fragments
without getting confused.  It would also need to be able to recover
nicely from Ada syntax errors, and continue parsing and prettyprinting
despite syntax errors.

Any suggestions?


Steven Litvintchouk
MITRE Corporation
Burlington Road
Bedford, MA  01730
(617)271-7753

ARPA:  sdl@mitre-bedford.arpa
UUCP:  ...{cbosgd,decvax,genrad,ll-xn,mit-eddie,philabs,utzoo}!linus!sdl

	"Those who will be able to conquer software will be able to
	 conquer the world."  -- Tadahiro Sekimoto, president, NEC Corp.