comp.lang.ada
 help / color / mirror / Atom feed
From: Oliver Kellogg <okellogg@users.sourceforge.net>
Subject: Re: astyle/cindent for Ada?
Date: Sun, 29 Jul 2012 07:37:55 -0700 (PDT)
Date: 2012-07-29T07:37:55-07:00	[thread overview]
Message-ID: <2f01e3b0-588c-41ab-a043-816401af0649@googlegroups.com> (raw)
In-Reply-To: <2df5566c-c219-4226-b41e-78ed47190bc4@googlegroups.com>

On Friday, July 27, 2012 5:56:35 PM UTC+2, awdorrin wrote:
> Are there any code reformatters for Ada, such as 'astyle' or 'cindent' that are available for Linux?

At http://www.okellogg.de/x.html there is indentada.pl which is very simple and was mainly intended as a demo for using UniLexer.pm (at the same URL.)

> I have tried using the 'gnatpp' program - but under Debian Linux it keeps telling me that my files aren't valid Ada source (even though they compile fine)

indentada.pl in no way competes with gnatpp feature-wise, and is just enough to restore some basic formatting on messed up code. OTOH it does not pull in anything as complex as ASIS.

HTH,

 Oliver



      parent reply	other threads:[~2012-07-29 14:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-27 15:56 astyle/cindent for Ada? awdorrin
2012-07-27 17:45 ` Ludovic Brenta
2012-07-27 18:00   ` Patrick
2012-07-27 21:40     ` Patrick
2012-07-27 22:46       ` Ludovic Brenta
2012-07-28  0:06         ` Patrick
2012-07-28  1:25           ` Nasser M. Abbasi
2012-07-28 13:04             ` Patrick
2012-07-28 18:14               ` Ludovic Brenta
2012-07-28 18:14     ` it.marks.info
2012-07-31 14:27   ` awdorrin
2012-07-31 14:38     ` awdorrin
2012-07-31 14:56       ` awdorrin
2012-07-31 20:04         ` Ludovic Brenta
2012-08-02 18:28           ` awdorrin
2012-08-02 19:59             ` Ludovic Brenta
2012-08-06 12:36               ` awdorrin
2012-07-29 14:37 ` Oliver Kellogg [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