Design Concepts in Programming Languages (Hardcover)
暫譯: 程式語言設計概念 (精裝版)

Franklyn Turbak, David Gifford

  • 出版商: MIT
  • 出版日期: 2008-07-18
  • 售價: $4,800
  • 貴賓價: 9.5$4,560
  • 語言: 英文
  • 頁數: 1346
  • 裝訂: Hardcover
  • ISBN: 0262201755
  • ISBN-13: 9780262201759
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Choice Outstanding Academic Title, 2009.

Hundreds of programming languages are in use today—scripting languages for Internet commerce, user interface programming tools, spreadsheet macros, page format specification languages, and many others. Designing a programming language is a metaprogramming activity that bears certain similarities to programming in a regular language, with clarity and simplicity even more important than in ordinary programming. This comprehensive text uses a simple and concise framework to teach key ideas in programming language design and implementation. The book's unique approach is based on a family of syntactically simple pedagogical languages that allow students to explore programming language concepts systematically. It takes as its premise and starting point the idea that when language behaviors become incredibly complex, the description of the behaviors must be incredibly simple.

The book presents a set of tools (a mathematical metalanguage, abstract syntax, operational and denotational semantics) and uses it to explore a comprehensive set of programming language design dimensions, including dynamic semantics (naming, state, control, data), static semantics (types, type reconstruction, polymporphism, effects), and pragmatics (compilation, garbage collection). The many examples and exercises offer students opportunities to apply the foundational ideas explained in the text. Specialized topics and code that implements many of the algorithms and compilation methods in the book can be found on the book's Web site, along with such additional material as a section on concurrency and proofs of the theorems in the text. The book is suitable as a text for an introductory graduate or advanced undergraduate programming languages course; it can also serve as a reference for researchers and practitioners.

商品描述(中文翻譯)

2009年傑出學術書籍獎。

現今有數百種程式語言在使用中,包括用於網際網路商務的腳本語言、用戶介面程式設計工具、電子表格巨集、頁面格式規範語言等。設計一種程式語言是一種元程式設計活動,與在常規語言中的程式設計有某些相似之處,清晰性和簡潔性在這裡比普通程式設計更為重要。本書使用一個簡單而簡潔的框架來教授程式語言設計和實現中的關鍵概念。這本書獨特的方法基於一系列語法簡單的教學語言,讓學生能夠系統性地探索程式語言概念。它的前提和出發點是,當語言行為變得極其複雜時,對這些行為的描述必須極其簡單。

本書提出了一組工具(數學元語言、抽象語法、操作語義和指稱語義),並利用這些工具探索一組全面的程式語言設計維度,包括動態語義(命名、狀態、控制、數據)、靜態語義(類型、類型重建、多型性、效果)和語用學(編譯、垃圾回收)。許多範例和練習為學生提供了應用文本中解釋的基礎概念的機會。本書的網站上可以找到專門主題和實現書中許多演算法及編譯方法的程式碼,還有額外的材料,如關於併發的章節和文本中定理的證明。本書適合作為研究生入門或高級本科程式語言課程的教材;也可以作為研究人員和實務工作者的參考資料。