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,16e3a8dd4f3ab3f3 X-Google-Attributes: gid103376,public From: emery@grebyn.com (David Emery) Subject: Re: Elaboration order Date: 1996/03/20 Message-ID: #1/1 X-Deja-AN: 143326357 references: <314701A1.469D@lfwc.lockheed.com> <31494143.3825@lfwc.lockheed.com> organization: MIND LINK! - British Columbia, Canada newsgroups: comp.lang.ada Date: 1996-03-20T00:00:00+00:00 List-Id: In article , eachus@spectre.mitre.org (Robert I. Eachus) wrote: > In article bobduff@world.std.com (Robert A Duff) writes: > > > The designers of Ada 83 struggled with this issue. In Ada 80 (or so), > > the compiler was required to do an extraordinarily complex analysis at > > link time, to determine the order, so there was no need for run-time > > checks on calls. This was changed in order to simplify implementation. > > That's quite an understatement. To demonstrate the problem with > the Ada 80 rule I wrote a little program that any Ada 80 compiler must > compile without error if Format's Last Theorem was true, and which > must be rejected if it was false. > > (Such a theorem prover being beyond the state of the art, the rules > were changed for Ada 83 to allow the compiler to pick one arbitrary > order.) > ... > -- > > Robert I. Eachus > > with Standard_Disclaimer; > use Standard_Disclaimer; > function Message (Text: in Clever_Ideas) return Better_Ideas is... Of course, there wasn't time to type in the program so Eachus scribbled it down on the side of an old printout, which he has subsequently lost :-) :-) dave