
As an Amazon Associate and affiliate partner, Menrva Books earns from qualifying purchases. Learn more
A new version of the classic and widely used text adapted for the JavaScript programming language. Since the publication of its first edition in 1984 and its second edition in 1996, Structure and Interpretation of Computer Programs (SICP) has influenced computer science curricula around the world. Widely adopted as a textbook, the book has its origins in a popular entry-level computer science course taught by Harold Abelson and Gerald Jay Sussman at MIT. SICP introduces the reader to central ideas of computation by establishing a series of mental models for computation. Earlier editions used the programming language Scheme in their program examples. This new version of the second edition has been adapted for JavaScript. The first three chapters of SICP cover programming concepts that are common to all modern high-level programming languages. Chapters four and five, which used Scheme to formulate language processors for Scheme, required significant revision. Chapter four offers new material, in particular an introduction to the notion of program parsing. The evaluator and compiler in chapter five introduce a subtle stack discipline to support return statements (a prominent feature of statement-oriented languages) without sacrificing tail recursion. The JavaScript programs included in the book run in any implementation of the language that complies with the ECMAScript 2020 specification, using the JavaScript package sicp provided by the MIT Press website.
This text investigates the fundamental principles of computation by adapting a seminal computer science curriculum to the JavaScript programming language. Originally based on the Scheme language, this new edition leverages JavaScript to explore core programming concepts, mental models for computation, and the construction of language processors. It aims to provide a robust understanding of computation applicable to modern programming paradigms, with specific attention to parsing and the implementation of evaluators and compilers that support advanced language features.
This adaptation of 'Structure and Interpretation of Computer Programs' for JavaScript is recognized as a significant update to a foundational text in computer science education. The transition from Scheme to JavaScript allows for the exploration of computational principles within a widely-used modern language, making the material accessible to a new generation of programmers. The inclusion of new material on parsing and the detailed treatment of evaluators and compilers are noted as key strengths. The text is positioned as a valuable resource for both students learning computer science fundamentals and experienced developers seeking a deeper understanding of programming language design and implementation.
Page Count:
640
Publication Date:
2022-04-12
Publisher:
MIT Press
ISBN-10:
0262543230
ISBN-13:
9780262543231
No comments yet. Be the first to share your thoughts!