PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

ALGOL 60

ALGOL 60

ALGOL 60 is a pl created in 1960 by John Backus and Friedrich L. Bauer and Julien Green and Charles Katz and John McCarthy and Peter Naur and Alan Perlis and Heinz Rutishauser and Klaus Samelson and Adriaan van Wijngaarden and Bernard Vauquois and Joseph Henry Wegstein and Michael Woodger.

#233on PLDB 62Years Old 1.3kUsers
5Books 0Papers

ALGOL 60 (short for Algorithmic Language 1960) is a member of the ALGOL family of computer programming languages. It followed on from ALGOL 58 which had introduced code blocks and the begin and end pairs for delimiting them. ALGOL 60 was the first language implementing nested function definitions with lexical scope. Read more on Wikipedia...


Example from the web:
procedure Absmax(a) Size:(n, m) Result:(y) Subscripts:(i, k); value n, m; array a; integer n, m, i, k; real y; comment The absolute greatest element of the matrix a, of size n by m, is transferred to y, and the subscripts of this element to i and k; begin integer p, q; y := 0; i := k := 1; for p := 1 step 1 until n do for q := 1 step 1 until m do if abs(a[p, q]) > y then begin y := abs(a[p, q]); i := p; k := q end end Absmax
Example from hello-world:
BEGIN FILE F(KIND=REMOTE); EBCDIC ARRAY E[0:11]; REPLACE E BY "HELLO WORLD"; WRITE(F, *, E); END.
Example from Wikipedia:
'PROGRAM' (HELLO) 'BEGIN' 'COMMENT' OPEN QUOTE IS '(', CLOSE IS ')', PRINTABLE SPACE HAS TO BE WRITTEN AS % BECAUSE SPACES ARE IGNORED; WRITE TEXT('('HELLO%WORLD')'); 'END' 'FINISH'

Language features

Feature Supported Example Token
Strings
"Hello world"
"
Print() Debugging WRITE
Semantic Indentation ϴ

Books about ALGOL 60 on goodreads

title author year reviews ratings rating
primer of ALGOL 60 programming. Edsger W. Dijkstra 1962 1 4 4.25
Algol 60 Implementation: The Translation And Use Of Algol 60 Programs On A Computer B. Randell 1 1 4.00
Course In Programming Algol 60 (Science Paperbacks) Michael Wells 0 0 0.0
Handbook and Guide for Comparing and Selecting Computer Languages: Basic, FORTRAN, PASCAL, COBOL, PL/1, APL, ALGOL-60, C James R. Ogden 1985 0 0 0.0
Compilers by Programming Language: ALGOL 60 Compilers, Assemblers, Basic Compilers, C++ Compilers, Cfml Compilers, C Compilers Books Group 2010 0 0 0.0
clean.html · algol-60.html · symbol.html

View source

PLDB - Build the next great programming language · v2022 · Day 32 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com