Structure and Interpretation of Computer Programs
PLUS
Details
Book description
Structure and Interpretation of Computer Programs presents foundational ideas in computation through a sequence of mental models and programming examples. This edition adapts the influential textbook for JavaScript, making its central concepts accessible through a language widely used in modern software development. Its roots are in an introductory computer science course taught by Harold Abelson and Gerald Jay Sussman at MIT.
The opening three chapters explore programming concepts shared by modern high-level languages. Later chapters turn to the construction of language processors: the book introduces program parsing, then develops an evaluator and compiler. These discussions examine how programs can be represented and executed, including how a subtle stack discipline can support return statements while retaining tail recursion.
Rather than treating programming as a collection of syntax rules, the book emphasizes ways of thinking about computation and the design of programs. Its progression from general programming ideas to interpreters and compilers suits readers who want to understand not only how to write programs, but how programming languages and computational processes work.
This edition is aimed at students and independent learners with an interest in computer science, programming-language design, and the foundations of software. The examples are written in JavaScript and are described as compatible with implementations following the ECMAScript 2020 specification. Prior experience with programming may help readers engage with the material, though the text originates in an entry-level computer science course.