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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.142.8 with SMTP id rs8mr16016564obb.33.1457897601796; Sun, 13 Mar 2016 12:33:21 -0700 (PDT) X-Received: by 10.182.125.37 with SMTP id mn5mr208081obb.10.1457897601753; Sun, 13 Mar 2016 12:33:21 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!av4no443576igc.0!news-out.google.com!pn7ni8899igb.0!nntp.google.com!av4no443565igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 13 Mar 2016 12:33:21 -0700 (PDT) In-Reply-To: <87a8m2jlp7.fsf@adaheads.consafe1.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=74.113.53.162; posting-account=rdRzuwoAAAAyW3CSBhs_xgfCUJSc1aNt NNTP-Posting-Host: 74.113.53.162 References: <87a8m2jlp7.fsf@adaheads.consafe1.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <81e7af69-b889-4bee-afc5-e76cd2e1eac3@googlegroups.com> Subject: Re: Pretty-printer? (Alternatives to "gnatpp") From: Britt Injection-Date: Sun, 13 Mar 2016 19:33:21 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:29739 Date: 2016-03-13T12:33:21-07:00 List-Id: 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