Programming languages: History and fundamentals
Jean Sammet. Programming languages: History and fundamentals. Prentice-Hall Series in Automatic Computation. Prentice-Hall. 1969.
I love books like this, written before their material really came into clear view. This is the earliest “comparative programming linguistics” book I know of, trying to review the entire state of the art in design, implementation, and thinking about languages. An impressive breadth that no-one would attempt nowadays, even though today’s language feature landscape is a lot less varied.
Many (most!) of the languages described are now essentially unknown, and one would need access to a very rich library in order to find the primary literature that describes them. But there is extensive coverage of ALGOL, FORTRAN, COBOL, and (to a lesser extent) LISP – all in capital letters, of course.
The Lisp dealt with is Lisp 1.5 which still maintained the planned distinction between data (“S-“) and program (“M-“) forms – the loss of which turned out to be so characteristic of Lisp going forward, and whose significance was somewhat clear even in the early days:
Lisp is the only higher-level language (in this book) in which the internal representation of the program is defined to be exactly the same as that of the data: this makes it possible for a program X to create and execute a program Y or to operate upon itself.
The author is otherwise quite scathing about the notation, especially for maths, but is somewhat impressed by garbage collection:
It must be pointed out that this technique is a controversial one and has a profound effect on the efficiency of the running system; however, from a pure language viewpoint, the most significant factor is that the user is freed from the responsibility of doing this.
And this is contrasted with the manual approaches of IPL and L6: two languages dealt with earlier in the book that are now forgotten.
The really interesting thing, though, is that as well as Lisp 1.5 Sammet deals extensively with Lisp 2 – a language that tried to marry Lisp ideas with the syntax of ALGOL 60, and which disappeared without a trace despite being “designed for a professional programmer”. (In fact the section on Lisp 2 is longer than that on Lisp 1.5.) This of course misses the whole point of having program and data the same, and really just tries to build a list processing system with a familiar syntax – and familiar limitations.
I can’t resist one last quotation, because I suspect it’s something many reading this material will find complementary – even though it really wasn’t intended to be:
Lisp is unique among programming languages in every possible way, but its use has been limited to a relatively few diligent people who can cope with its notational inconveniences.
I can’t express how happy I am to have read this book, and to have a copy in my University library for when I want to return to it. Thanks to Paolo Amoroso for pointing me to it.