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,b2011d0de07e01d2 X-Google-Attributes: gid103376,public From: james hopper Subject: Re: wanted: Ada diff tool Date: 2000/05/03 Message-ID: <030520002201489719%nospam@nospam.com>#1/1 X-Deja-AN: 618991883 Content-Transfer-Encoding: 8bit References: <8eot2o$kbm$1@wanadoo.fr> Organization: http://extra.newsguy.com Content-Type: text/plain; charset=ISO-8859-1 User-Agent: YA-NewsWatcher/5.0.0 Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-05-03T00:00:00+00:00 List-Id: In article <8eot2o$kbm$1@wanadoo.fr>, Jean-Pierre Rosen wrote: > On Adalog's component page (http://pro.wanadoo.fr/adalog/compo2.htm), you'll > find a small utility called Normalize that processes an Ada source and > removes comments, unnecessary spaces, and turns the whole text (except > strings) upper-case. This is precisely intended to make a diff on the > "semantic" part of the program. FWIW.... > > (I wrote this because of a lengthy discussion on this topic here some times > ago. It turned out that it was faster to write the utility than to discuss > about its desirability ;-) i looke dat it and its good as far as it goes, but it doent handle the case where lines with embedded carrage control. if you change the formatting on lines it won't do a true diff. to make this a true normalize it needs to convert every ada statement into a single line. jim