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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Pretty-printer? (Alternatives to "gnatpp") Date: Sun, 13 Mar 2016 19:49:42 +0100 Organization: A noiseless patient Spider Message-ID: References: <87a8m2jlp7.fsf@adaheads.consafe1.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 13 Mar 2016 18:46:39 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="baee7bd8c35796736074ddb8819777a1"; logging-data="3551"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/q/33RFNOK9oznAOg2mMhL" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <87a8m2jlp7.fsf@adaheads.consafe1.org> Cancel-Lock: sha1:kI+JVYPllcjlkIGQ8+IdofGfZ2U= Xref: news.eternal-september.org comp.lang.ada:29735 Date: 2016-03-13T19:49:42+01:00 List-Id: Le 13/03/2016 19:07, Jacob Sparre Andersen a écrit : > 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). Not a full pretty printer, but you can use Adasubst to replace the casing of all identifiers with how they were declared (which is presumably what you want). Free and downloadable from: http://www.adalog.fr/en/components.html#adasubst -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr