comp.lang.ada
 help / color / mirror / Atom feed
From: Bob Butler <bob@work.com>
Subject: Re: Pretty-printer? (Alternatives to "gnatpp")
Date: Mon, 14 Mar 2016 06:43:15 +0000 (UTC)
Date: 2016-03-14T06:43:15+00:00	[thread overview]
Message-ID: <nc5mi3$1o6k$1@gioia.aioe.org> (raw)
In-Reply-To: nc4mlk$djh$1@dont-email.me

On 2016-03-13, Georg Bauhaus <bauhaus@futureapps.invalid> wrote:
> On 13.03.16 19:07, 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).
>
> The (new) Ada mode for Emacs can be used as a pretty printer,
> for all versions of Ada, and it supports automatic letter case.
> The user may define a list of exceptions to the casing rules
> that he prefers.

I thought of that too but I don't know if you can print from Emacs. I guess
you probably can, there isn't much Emacs can't do.

Emacs language modes are so good you can often (always?) catch syntax errors
in many programming languages even before you try compiling. When Emacs
screws up the indentation or mangles the code when you're editing there's a
darn good chance you have a syntax error!

Bob


  reply	other threads:[~2016-03-14  6:43 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 [this message]
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