comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: The Red Language
Date: 1997/09/21
Date: 1997-09-21T00:00:00+00:00	[thread overview]
Message-ID: <dewar.874850594@merv> (raw)
In-Reply-To: EGrv5y.C2D@world.std.com


<<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.)>>

I think this is still the inspiration for whatever meaning a "pass" has
in compilers today, i.e. a full traversal of some representation of the
program.

The rub is "full", just how full must a traversal be to be considered
a pass. For example, in GNAT, there is a circuit at the end of the
parser to fill in declarations for labels. Is this a pass? I would
say no, but it is open to argument. As soon as you have random access
to the representation, the definition is no longer clear (and is
incidentally, not particularly useful -- in the old days there was
far more connection between the notions of efficiency in compilation
time and number of passes than there is today).

<<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).>>

Algol-68 overloading is strictly based on operand types. There are two
sources for looking at A68. First there was an article in Computing
Surveys (one of its early issues), I *think* the title was something
like "Algol-68 without Tears", but I could be imagining.

A more comprehensive reference is Charles Lindsay's informal introduction
(Charles is a sometime reader of CLA, maybe he will notice this reference
and tell us the current availability of this book). Note that this is
informal only by comparison to the formal definition, it is in fact a
thorough and precise description of the entire language that is very
readable.

Finally, one more reference for just learning Algol-68 in a hurry is
Ian Currie's magnificent 70-page "yellow book" that came with Algol-68R.
This is a masterpiece of covering a lot of critical technical material,
at an easily readable level, in a remarkably short space. A corresponding
Ada 95 text would be most welcome.

Ian's book was the key for me in getting "into" Algol-68. I had given up
on the Revised Report (though later I joined the very select club of those
who really new the RR very well, and appreciated it's precision and style).





  reply	other threads:[~1997-09-21  0:00 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <340E2DC5.25D7@worldnet.att.net>
     [not found] ` <340ebdaf.230366903@news.mindspring.com>
     [not found]   ` <340ED5D8.2DEF6D3@ux4.sp.cs.cmu.edu>
1997-09-04  0:00     ` The Red Language Robert Munck
1997-09-07  0:00       ` Robert Dewar
1997-09-08  0:00         ` Richard Kenner
1997-09-12  0:00           ` David Wheeler
1997-09-12  0:00             ` Robert A Duff
     [not found]     ` <199709051335.PAA25952@basement.replay.com>
1997-09-05  0:00       ` Dean F. Sutherland
1997-09-08  0:00         ` Robert A Duff
1997-09-09  0:00           ` Arthur Evans Jr
     [not found]             ` <dewar.873953300@merv>
1997-09-11  0:00               ` Robert Dewar
1997-09-11  0:00                 ` Dean F. Sutherland
1997-09-12  0:00                   ` Robert A Duff
1997-09-11  0:00                 ` Arthur Evans Jr
1997-09-12  0:00                   ` Robert Dewar
1997-09-12  0:00                   ` Robert A Duff
1997-09-07  0:00 ` Robert Dewar
1997-09-08  0:00   ` Tucker Taft
1997-09-12  0:00 ` Robert A Duff
1997-09-12  0:00   ` Michael & Amy Hartsough
1997-09-13  0:00   ` Matthew Heaney
1997-09-14  0:00     ` Robert A Duff
1997-09-16  0:00       ` Brian Rogoff
1997-09-18  0:00         ` Robert A Duff
1997-09-18  0:00           ` Overload Resolution in Ada (Re: The Red Language) Brian Rogoff
1997-09-19  0:00             ` Robert Dewar
1997-09-19  0:00             ` Robert A Duff
1997-09-19  0:00               ` Brian Rogoff
1997-09-20  0:00                 ` Robert Dewar
1997-09-19  0:00           ` The Red Language Robert Dewar
1997-09-19  0:00             ` Robert A Duff
1997-09-21  0:00               ` Robert Dewar [this message]
1997-09-21  0:00                 ` Algol 68 references (Was Re: The Red Language) Brian Rogoff
1997-09-22  0:00                   ` Mark L. Fussell
1997-09-22  0:00                 ` The Red Language Richard Kenner
1997-09-22  0:00                 ` Chris Morgan
1997-09-22  0:00                 ` Richard A. O'Keefe
1997-09-25  0:00                   ` Bruce Link
1997-09-30  0:00               ` Charles Lindsey
1997-10-03  0:00                 ` Robert I. Eachus
1997-09-19  0:00             ` Brian Rogoff
1997-09-18  0:00         ` Robert Dewar
1997-09-18  0:00           ` Robert A Duff
1997-09-20  0:00             ` Robert Dewar
1997-09-22  0:00               ` Robert A Duff
1997-09-18  0:00         ` Robert Dewar
1997-09-18  0:00           ` Brian Rogoff
1997-09-16  0:00   ` Brian Rogoff
replies disabled

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