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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9f7c0fce90769654 X-Google-Attributes: gid103376,public From: john@assen.demon.co.uk (John McCabe) Subject: Re: Ada Code Formatting Date: 1996/08/10 Message-ID: <839662036.6210.1@assen.demon.co.uk>#1/1 X-Deja-AN: 173301967 x-nntp-posting-host: assen.demon.co.uk references: <4ug0pq$q64@zeus.orl.mmc.com> newsgroups: comp.lang.ada Date: 1996-08-10T00:00:00+00:00 List-Id: campbelj@escmail.orl.mmc.com (campbell james b0159) wrote: >Hi. >I'm looking for a product that will re-format ada code written by >different people so that the "style" is the same. We have some code >that was re-used from one project to the next, but in the process >was "cleaned up" by the second group; mostly indenting, spacing, etc. >that shouldn't really impact the code's function. >I would like to be able to do a diff on the code, but that's not >possible the way it is right now. >Any ideas? >Jim >James E. Campbell, Staff Systems Engineer >Lockheed Martin Corporation, Information Systems, Orlando, FL >407.306.7498 (voice) / 407.306.2303 (fax) >mailto:campbelj@escmail.orl.mmc.com Try using emacs with ada-mode. It'll take some work as you have to go through each file by hand, but it is reasonably configurable and works quite well. If you want something more automatic there isn't a lot of choice but nicer113 by Laurent Gasser available free from ftp://masg1.epfl.ch/pub/nicer113 Is one person's (fairly reasonable) attempt at this although you probably need to compile it. Good luck Best Regards John McCabe