Computer History  

Custom Search

Computer History
Tracing the History of the Computer - ALGOL 60

 

ALGOL (short for ALGOrithmic Language) is a family of imperative computer programming languages originally developed in the mid 1950s which became the de facto standard way to report algorithms in print for almost the next 30 years. It was designed to avoid some of the perceived problems with FORTRAN and eventually gave rise to many other programming languages (including Pascal). ALGOL uses bracketed statement blocks and was the first language to use begin end pairs for delimiting them. Fragments of ALGOL-like syntax are sometimes still used as a notation for algorithms, so-called Pidgin Algol.

There are three official main branches of ALGOL family: ALGOL 58, ALGOL 60, and ALGOL 68. Of these, ALGOL 60 was the most widely known in the United States. Niklaus Wirth based his own Algol-W on ALGOL 60, before moving to develop Pascal. Algol-W was intended to be the next generation ALGOL, but the majority of the ALGOL 68 committee decided to design a language that was more complex and advanced rather than a language that is basically a cleaned up version of ALGOL 60. The official ALGOL versions are named after the year they were first published. ALGOL 58 was originally known as the IAL (for International Algorithmic Language.)

Note: throughout its effective life, the name of the programming language ALGOL was always presented in all-uppercase letters, and this is the practice adopted here.

History

ALGOL was developed jointly by a committee of European and American computer scientists. It specified three different syntaxes: a reference syntax, a publication syntax, and an implementation syntax. The different syntaxes permitted it to use different keyword names and conventions for decimal points (commas vs. periods) for different languages.

John Backus developed the Backus normal form method of describing programming languages specifically for ALGOL 58. It was revised and expanded by Peter Naur to the Backus-Naur form for ALGOL 60. Both John Backus and Peter Naur served on the committee which created ALGOL 60, as did Wally Feurzeig who later created Logo. ALGOL 60 inspired many languages that followed it; the canonical quote in this regard is C.A.R. Hoare's "ALGOL 60 was a great improvement on its successors." The full quote is "Here is a language so far ahead of its time, that it was not only an improvement on its predecessors, but also on nearly all its successors", but the aphoristic version is far better known. It is sometimes erroneously attributed to Edsger Dijkstra, also known for his pointed comments, who helped to implement an early ALGOL 60 compiler. (This statement was in part a criticism of the bloatedness of ALGOL 68.)

     

The Burroughs Corporation's B5000 and its successors were stack machines designed to be programmed in an extended variant of ALGOL 60, known as Elliott ALGOL; indeed their operating system the MCP, was written in Elliott ALGOL as far back as 1961. The Unisys Corporation still markets machines descended from the B5000 today, running the MCP and supporting a diverse set of Elliott ALGOL compilers. Another early implementation was Dartmouth ALGOL 30 on the LGP-30 computer.

Properties

ALGOL 60 as officially defined had no I/O facilities; implementations necessarily had to add some, but they varied from one implementation to another. In contrast, ALGOL 68 offered an extensive library of transput (ALGOL 68 parlance for Input/Output) facilities.

ALGOL 60 allowed for two evaluation strategies for parameter passing: the common call-by-value, and call-by-name. Call-by-name had certain limitations in contrast to call-by-reference, making it an undesirable feature in language design. For example, it is impossible in ALGOL 60 to develop a procedure that will swap the values of two parameters if the actual parameters that are passed in are an integer variable and an array that is indexed by that same integer variable. However, call-by-name is still beloved of ALGOL implementors for the interesting "thunks" that are used to implement it.

ALGOL 68 was defined using a two-level grammar formalism invented by Adriaan van Wijngaarden and which bears his name. Van Wijngaarden grammars use a context-free grammar to generate an infinite set of productions that will recognize a particular ALGOL 68 program; notably, they are able to express the kind of requirements that in many other programming language standards are labelled "semantics" and have to be expressed in ambiguity-prone natural language prose, and then implemented in compilers as ad hoc code attached to the formal language parser.

Resources

Algol 58

Algol 68

History of Programming Languages

Programming Timeline

http://en.wikipedia.org/wiki/Algol_60

Copyright Notice for Computer Nostalgia

 Disclaimers 

  Privacy Policy 

 GNU License