From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,221c61113210e0ef X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.78.106 with SMTP id a10mr1127197pax.14.1343572675831; Sun, 29 Jul 2012 07:37:55 -0700 (PDT) Path: c10ni49128pbw.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Oliver Kellogg Newsgroups: comp.lang.ada Subject: Re: astyle/cindent for Ada? Date: Sun, 29 Jul 2012 07:37:55 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2f01e3b0-588c-41ab-a043-816401af0649@googlegroups.com> References: <2df5566c-c219-4226-b41e-78ed47190bc4@googlegroups.com> NNTP-Posting-Host: 91.33.222.209 Mime-Version: 1.0 X-Trace: posting.google.com 1343572675 22524 127.0.0.1 (29 Jul 2012 14:37:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 29 Jul 2012 14:37:55 +0000 (UTC) In-Reply-To: <2df5566c-c219-4226-b41e-78ed47190bc4@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=91.33.222.209; posting-account=a23u_AkAAAB-Xz81hSqodYsmJRrMwioK User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-29T07:37:55-07:00 List-Id: 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