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,8f8cea8602e61aba X-Google-Attributes: gid103376,public From: chl@clw.cs.man.ac.uk (Charles Lindsey) Subject: Re: The Red Language Date: 1997/09/30 Message-ID: #1/1 X-Deja-AN: 276693011 References: <340E2DC5.25D7@worldnet.att.net> Newsgroups: comp.lang.ada Date: 1997-09-30T00:00:00+00:00 List-Id: In bobduff@world.std.com (Robert A Duff) writes: >Well, I suppose in the bad old days, a "pass" in a compiler had >something to do with reading a representation of the source program from >the disk, and writing back a different representation. I agree this is >not a useful way to look at it. (I recall using a Pascal compiler that >required me to remove the "pass 1" floppy, and insert the "pass 2" >floppy, for each compile.) In the REAL "bad old days" (before programmers took to eating quiche), the passes were done to/from tape. >>Note that in Algol-68, which uses operand type overloading only, there is >>indeed a one pass algorithm in the sense I define it above. >Could you briefly explain the Algol 68 rule? Better yet, tell me where >I can get my hands on the manual! I've read stuff *about* Algol 68, but >I want to read the actual language definition (which, I understand, is >rather tough going). You can deduce the operator solely from the type of its two operands. There are some "related" rules which prevent you from declaring two versions of an operator which could have confused that deduction (remember that some coercions are allowed on the operators). References: Revised Report on the Algorithmic Language ALGOL 68. Acta Informatica Vol 5 (1975) pts 1-3 or SIGPLAN Notices Vol 12 No 5 (1977) Or send me your snail mail address and I will send you a microfiche (a bit blurry :-( ). See also my paper in the History of Pragramming Languages-II (ACM Press). -- Charles H. Lindsey ---------At Home, doing my own thing------------------------- Email: chl@clw.cs.man.ac.uk Web: http://www.cs.man.ac.uk/~chl Voice/Fax: +44 161 437 4506 Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K. PGP: 2C15F1A9 Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5