comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison<dennison@telepath.com>
Subject: Re: Ada source comparison
Date: Mon, 02 Jul 2001 13:34:27 GMT
Date: 2001-07-02T13:34:27+00:00	[thread overview]
Message-ID: <DL_%6.4363$Kf3.34249@www.newsranger.com> (raw)
In-Reply-To: g0s%6.142008$%i7.95843108@news1.rdc1.sfba.home.com

In article <g0s%6.142008$%i7.95843108@news1.rdc1.sfba.home.com>, tmoran@acm.org
says...
>
>>Hi again. Is there a tool allowing to check if two texts represent
>>the same Ada source, eventually with a different formatting ?
>  a) run a pretty printer on both, then compare the pretty-printed
>source files.
>  b) compile both and compare the resulting object files (may differ
>slightly in a timestamp but shouldn't differ much more than that).

c) run the OpenToken "Ada tokenizer test" on both, and compare the output. It'd
be pretty easy to modify the test to do the comparison automaticly.

---
T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html
          home email - mailto:dennison@telepath.com



  reply	other threads:[~2001-07-02 13:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-30 21:36 Ada source comparison Gautier Write-only-address
2001-06-30 22:02 ` tmoran
2001-07-02 13:34   ` Ted Dennison [this message]
2001-07-02  8:41 ` Jean-Pierre Rosen
  -- strict thread matches above, loose matches on Subject: below --
2001-07-01 18:37 Gautier Write-only-address
2001-07-01 22:58 ` Jeffrey Carter
2001-07-01 22:38 Gautier Write-only-address
2001-07-02  4:25 Christoph Grein
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox