comp.lang.ada
 help / color / mirror / Atom feed
From: Britt <britt.snodgrass@gmail.com>
Subject: Re: Pretty-printer?  (Alternatives to "gnatpp")
Date: Mon, 14 Mar 2016 17:15:44 -0700 (PDT)
Date: 2016-03-14T17:15:44-07:00	[thread overview]
Message-ID: <c07437aa-574d-46cb-92f2-cfa58d9d78e3@googlegroups.com> (raw)
In-Reply-To: <87a8m2jlp7.fsf@adaheads.consafe1.org>

On Sunday, March 13, 2016 at 2:07:34 PM UTC-4, Jacob Sparre Andersen wrote:
> What pretty-printers are available for Ada (83-2012)?
> 
> I'm already aware of "gnatpp", but it has two disadvantages:
> 
>  1) You have to have set up the environment to compile the source file,
>     before you can pretty-print it.

Yes, this is a constraint but it also permits gnatpp to make consistent, global changes like "as declared" casing across all the files in a GNAT project tree. gnatpp has some remaining quirks but overall it has gotten better and more flexible over the years.
> 
>  2) ...

> What alternatives are there?

For formatting single files as you edit, I've been happy enough with the formatting capabilities build into GPS and GNATbench. These don't require files to be completely compilable.

-Britt


      parent reply	other threads:[~2016-03-15  0:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-13 18:07 Pretty-printer? (Alternatives to "gnatpp") Jacob Sparre Andersen
2016-03-13 18:49 ` J-P. Rosen
2016-03-13 19:26   ` Jacob Sparre Andersen
2016-03-13 18:49 ` J-P. Rosen
2016-03-13 19:33 ` Britt
2016-03-13 20:32   ` Jacob Sparre Andersen
2016-03-13 21:37 ` Georg Bauhaus
2016-03-13 21:42 ` Georg Bauhaus
2016-03-14  6:43   ` Bob Butler
2016-03-14 12:01     ` G.B.
2016-03-14 13:13       ` Simon Wright
2016-03-14  0:58 ` Shark8
2016-03-14 23:47 ` Randy Brukardt
2016-03-15  0:15 ` Britt [this message]
replies disabled

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