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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,e9f0eae6d714d11c X-Google-Attributes: gid103376,public From: Bryce Bardin Subject: Re: Gnat pretty printing Date: 1998/12/11 Message-ID: <36719C95.BA6A842@home.com>#1/1 X-Deja-AN: 421339201 Content-Transfer-Encoding: 8bit References: <74lt16$9r0@romeo.logica.co.uk> <366E9E44.AA7370C7@pwfl.com> <74on70$m9o$1@cnn.Princeton.EDU> <74r7ip$t1@top.mitre.org> Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: news@home.net X-Trace: news.rdc2.occa.home.com 913415325 24.0.214.54 (Fri, 11 Dec 1998 14:28:45 PDT) Organization: @Home Network MIME-Version: 1.0 Reply-To: bbardin@home.com NNTP-Posting-Date: Fri, 11 Dec 1998 14:28:45 PDT Newsgroups: comp.lang.ada Date: 1998-12-11T00:00:00+00:00 List-Id: Michael F Brenner wrote: (snip) > Here are the requirements for a pretty printer: > (a) There should be the option to uncapitalize all reserved words > and all identifiers. > (b) There should be the option to uncaptitalize all reserved words > but let identifiers have consistently the case they had the > first time they appeared. (snip) We wrote one at Hughes in the 80's that had capitalization control based on switches and which supported fixed capitalization of either a default or project-specific set of acronyms. However, very few projects used it. They just couldn't be bothered. Style was either enforced by the rest of the toolset (� la Rational) or manually checked during code reviews. > (h) It should append onto a statistical file the following counts: (snip) Statistics should be collected by a separate, tailorable tool, IMHO. The tool we wrote at Hughes *was* used extensively.