Structure and Interpretation of Computer Programs, JavaScript Edition

Structure and Interpretation of Computer Programs, JavaScript Edition

简介:

本书通过建立一系列计算的心理模型,向读者介绍了计算的中心思想。早期版本在其程序示例中使用了编程语言方案。这个新版本的第二版已经适应了JavaScript。本书中包含的JavaScript程序使用MIT Press网站提供的JavaScript软件包sicp,以符合ECMAScript 2020规范的语言的任何实现运行。本书的前三章涵盖了所有现代高级编程语言共有的编程概念。第四章和第五章使用Scheme来制定Scheme的语言处理器,需要进行重大修订。第四章提供了新的材料,特别是对程序解析概念的介绍。第五章中的求值器和编译器引入了一个微妙的堆栈规则来支持返回语句 (面向语句的语言的一个突出特征),而不会牺牲尾递归。

在过去的十年中,计算机程序的结构和解释对计算机科学课程产生了巨大的影响。这一期待已久的修订包含了整个文本的变化。

英文简介:

This book 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 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.

The first three chapters of the book 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.

Structure and Interpretation of Computer Programs has had a dramatic impact on computer science curricula over the past decade. This long-awaited revision contains changes throughout the text.

书名
Structure and Interpretation of Computer Programs, JavaScript Edition
译名
计算机程序的结构和解释,JavaScript 版
语言
英语
年份
2022
页数
642页
大小
8.95 MB
标签
  • 计算机程序的构造和解释
  • JavaScript
  • 下载
    pdf iconStructure and Interpretation of Computer Programs, JavaScript Edition.pdf
    密码
    65536

    最后更新:2025-04-12 23:54:37

    ←Programming Fundamentals - A Modular Structured Approach, 2nd Edition

    →Concepts, Techniques, and Models of Computer Programming