comp.lang.ada
 help / color / mirror / Atom feed
From: Britt <britt.snodgrass@gmail.com>
Subject: Re: Pretty-printer?  (Alternatives to "gnatpp")
Date: Sun, 13 Mar 2016 12:33:21 -0700 (PDT)
Date: 2016-03-13T12:33:21-07:00	[thread overview]
Message-ID: <81e7af69-b889-4bee-afc5-e76cd2e1eac3@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:

>  2) You can't get it to select the casing of identifiers on a
>     word-by-word basis (which means that I have to repeat every acronym
>     we use in the project once for every identifier it occurs in).

Perhaps I don't understand your problem but gnatpp uses "as declared" casing by default and then you use can supplement this with dictionary files for global casing exceptions. For example, the following line:

*VxWorks*

in a dictionary file (see gnatpp's -D switch) will case all variations of of "vxworks" between underscores in identifiers to be consistently cased as "VxWorks".

-Britt

  parent reply	other threads:[~2016-03-13 19:33 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 [this message]
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
replies disabled

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