Skip to content

Dead End: ALGOL 68

Abstract

ALGOL 68 was meant to succeed ALGOL 60. IFIP Working Group 2.1 worked on it from 1965 to December 1968, and the agreement cost the group several of its best-known members: Peter Naur and Niklaus Wirth resigned, and eight members, among them Edsger Dijkstra and Tony Hoare, signed a Minority Report calling the effort “a failure.” The defining Report was written by Adriaan van Wijngaarden of the Mathematical Centre in Amsterdam in a new notation, the two-level grammar, which few readers could follow. Compilers existed from 1970, the first and most used of them from the Royal Radar Establishment in Malvern, and a rewritten Revised Report appeared in 1975. The language never spread beyond a loyal minority, mostly in Britain and the Netherlands, but pieces of it went into C, the Bourne shell, and the line of work that led to Prolog. For the language family as a whole, see ALGOL and the ALGOL Family.

ALGOL X

In April 1962 the authors of the Revised ALGOL 60 Report handed responsibility for the language to Working Group 2.1 of the International Federation for Information Processing. By 1964 the group was discussing an ALGOL X, a “short-term solution to existing difficulties,” and a “radically reconstructed” ALGOL Y, which in practice became a holding pen for features rejected from ALGOL X.

Serious work began at Princeton in May 1965. At the next meeting, at St. Pierre de Chartreuse in October 1965, three drafts lay on the table. One came from Niklaus Wirth, soon merged with Tony Hoare’s proposal for records. Another, distributed a week before the meeting, was Van Wijngaarden’s “Orthogonal design and description of a formal language.” Charles Lindsey, later an editor of the revised language, describes it as exceedingly hard to read, with no examples, and the language it described as “nothing special.” What it brought was a method: a two-level grammar, a few concepts combined orthogonally, and no distinction between statements and expressions. The group resolved, with misgivings from Hoare, that whatever language it chose would be described by Van Wijngaarden’s techniques.

That decision split the work. At a subcommittee meeting in Kootwijk in April 1966 it was generally agreed that the Wirth/Hoare draft described “more or less the right language, but in the wrong formalism.” Then Van Wijngaarden and Gerhard Seegmüller fell out with Hoare and Wirth over the parameter mechanism, and the two documents went separate ways. Wirth implemented his on the IBM 360 as ALGOL W, and Pascal later grew from that line; Hoare’s Turing Award lecture called ALGOL W “a worthy predecessor of PASCAL.”

The Two-Level Grammar

Van Wijngaarden, born in 1916 and trained as a mechanical engineer at Delft, had run the Mathematical Centre’s computing department since 1 January 1947 (he hired Edsger Dijkstra there in 1952) and became its director in 1961. Peter Naur’s BNF had fixed ALGOL 60’s context-free syntax and left the rest, such as whether a variable was declared or whether an assignment’s types matched, to English prose. Van Wijngaarden wanted the grammar itself to carry those rules.

His solution was a grammar that generates grammars. A first level, the metagrammar, produces strings, which are substituted consistently into the rule templates of the second level. A rule of the 1968 Report reads:

reference to MODE assignation : reference to MODE destination, becomes symbol, MODE source.

With integral substituted for MODE, the rule says that an integer may be assigned only to a reference to an integer, so the grammar enforces the type rule without a word of prose. Michel Sintzoff showed in 1967 that such grammars can generate any recursively enumerable language, the full power of a Chomsky type-0 grammar; the price, Lindsey noted, is that no parser can be built from an unrestricted W-grammar, as they came to be called. Alain Colmerauer’s first natural-language system in 1969 used W-grammars, and its successors led to Prolog (see Prolog and Logic Programming).

The Report contained the sentence everybody quotes: “It is recognized, however, that this method may be difficult for the uninitiated reader.” Kees Koster, the junior of the four authors, admitted that some syntax rules “can not be read or written with a straight face.”

The Editor

From late 1966 Van Wijngaarden edited the draft alone, with a team in Amsterdam: Barry Mailloux, his doctoral student from Canada, who checked that the language could be implemented; John Peck, on sabbatical from Calgary, who wrote much of the syntax; and from late 1967 Koster, who took over input and output. Van Wijngaarden called his own role “party ideologist.” The language grew at every meeting, with operator overloading from John McCarthy and anonymous procedures from Klaus Samelson, while Hoare’s attempts to cut it back to something like the Wirth/Hoare draft failed.

Lindsey, who read the minutes decades later, wrote that every dissenter shared “an exasperation with Van Wijngaarden’s style.” Asked for a new feature, he would first say it was too late for such an upheaval and that the colleague should write the syntax and semantics himself; at the next meeting he would show “with great glee” how he had restructured the entire Report to fit it in.

Zurich, Tirrenia, and North Berwick

The draft went out to readers of the ALGOL Bulletin in February 1968 and caused “much shock, horror, and dissent.” At a colloquium in Zurich that May it was “attacked for its alleged obscurity, complexity, inadequacy, and length, and defended by its authors for its alleged clarity, simplicity, generality, and conciseness.” Naur called IFIP “totally authoritarian,” and Wirth described meetings that went from “disarray and dispute” to “discouragement and despair.” Lindsey’s reading of the minutes places the resignations of both men at this point. Wirth’s own recollection is that he left the group in 1966 to build the ALGOL W compiler at Stanford.

At Tirrenia in June 1968 the group seemed to accept the language and reject the document. Van Wijngaarden answered with what some heard as a threat: the authors would produce one more edition, which the group would accept or reject, and if rejected they could publish it as their own. The group, he said, had worn out “its first editor (Peter Naur), and then two authors (Wirth and Hoare),” and might now have worn out four more. The August meeting at North Berwick, Lindsey’s first, was “five days of continuous politics.”

Munich, December 1968

Two months before the Munich meeting, the NATO conference in Garmisch (see The Software Crisis) had convinced some members that the real problem was the reliable construction of programs, and in Munich the group asked for a new working group on programming methodology, later WG 2.3. To hold everyone together, a covering letter said that submitting the Report “does not imply that every member of the Group, including the authors, agrees with every aspect of the undertaking.” Hoare and Mike Woodger moved to transmit the Report with that letter, and the motion passed by a substantial majority.

In the meeting’s last hour, members unhappy with the letter produced a Minority Report, assembled from a draft by Dijkstra. It judged the effort “to be a failure in both respects.” The description failed because of “the sheer size of the Report” and “the extreme difficulty of achieving correctness.” The language failed because its “implicit view of the programmer’s task is very much the same as, say, ten years ago,” so that “regarded as a programming tool, the language must be regarded as obsolete.” The signatories asked that IFIP not publish the Report under its sponsorship. They were Dijkstra, Fraser Duncan, Hoare, Brian Randell, Seegmüller, W. M. Turski, and Woodger, joined by Jan Garwick, who had missed Munich and asked by letter on 23 December 1968 to add his name. Wirth, sometimes listed among them, did not sign.

IFIP authorised publication of the Report by postal vote in March 1969, and it filled 140 pages of Numerische Mathematik that year. Technical Committee 2 refused to forward the Minority Report, which appeared in the ALGOL Bulletin in March 1970. Hoare remembered going to Munich “in a mood of black depression” to see “our long-gestated monster” named, and never attended the group again.

Revision and Compilers

The first working compiler came from outside the group. A small team at the Royal Radar Establishment in Malvern brought ALGOL 68-R, for ICL 1900 series machines, to the implementation conference in Munich in July 1970, where it “caused quite a stir.” It restricted the language so that it could be compiled in a single pass, and it became the most widely used implementation, especially in Britain.

Under a new chairman, Manfred Paul, WG 2.1 decided to revise the Report. At Vienna in September 1972 ten people petitioned to drop the revision; Van Wijngaarden observed that this “would cause the death of five of the six editors,” and the vote came out 6 to 6 with 6 abstentions, so the work went on. The editors, in Manchester, Edmonton, Vancouver, and Brussels, adopted some of Malvern’s restrictions and rebuilt the method of description so that whole classes of error could no longer be written. The Revised Report appeared in Acta Informatica in 1975.

At the group’s meeting in Novosibirsk in August 1971, twenty implementations had been reported under way on fifteen machines. Most were never finished. Mailloux’s thesis showed that the original language needed four compiler passes, a flaw Lindsey thought a small syntactic change would have removed. CDC Netherlands delivered a commercial compiler in 1977 after several Dutch universities threatened to buy only machines with ALGOL 68, but CDC’s American parent showed no interest in it. FLACC, a checkout compiler for IBM machines from two of Mailloux’s former students, shipped in 1978 at a price the market would not pay. At Cambridge a team led until January 1975 by Stephen Bourne, working with Mike Guy, wrote the portable ALGOL 68C. In Leningrad, G. S. Tseytin’s group built a compiler for Soviet IBM 360 clones, and the USSR became the only country with an official ALGOL 68 standard, GOST 27974-88.

Dead End

Lindsey’s answer to why the language never spread was that it was not implemented widely enough or soon enough, because implementation was too hard, because of “a relatively small number of troublespots” that the language did not need. The minutes show the rest. The group spent three years and lost its most respected members arguing over a document most programmers could not read, and no manufacturer stood behind the result: IBM had PL/I, and CDC ignored its own Dutch compiler. By the time the Revised Report fixed the description, Pascal had been published (1970), was taught in large courses at ETH Zurich, and came with a portable compiler other universities could install. Wirth wrote in 2021 that ALGOL 68 “did appear and then sank quickly into obscurity under its own weight.”

Its ideas travelled further than the language. Dennis Ritchie wrote that “the scheme of type composition adopted by C owes considerable debt to Algol 68,” that its unions and casts influenced C, and that the word “cast” was taken from it; B’s =+ operators came from ALGOL 68 through Doug McIlroy. At Bell Labs, Bourne gave the Unix shell what he called its “ALGOL68-like syntax,” with closing keywords “like an if and a fi” and a case statement ending in esac. He wrote the shell’s own C source with macros that made C read like ALGOL 68: the Seventh Edition’s mac.h defines IF, THEN, ELSE, FI, DO, and OD.

The language has never quite died. Marcel van der Veer’s Algol 68 Genie interpreter has been public since 2001, and GCC 16.1, released on 30 April 2026, included an experimental ALGOL 68 front end, ga68.

📚 Sources