Design Concepts in Programming Languages

  • 21h 11m
  • David Gifford, Franklyn Turbak, Mark A. Sheldon
  • The MIT Press
  • 2008

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

About the Authors

Franklyn A. Turbak is an Associate Professor in the Computer Science Department at Wellesley College.

David K. Gifford is Professor of Computer Science and Engineering at MIT.

In this Book

  • Introduction
  • Syntax
  • Operational Semantics
  • Denotational Semantics
  • Fixed Points
  • FL—A Functional Language
  • Naming
  • State
  • Control
  • Data
  • Simple Types
  • Polymorphism and Higher-Order Types
  • Type Reconstruction
  • Abstract Types
  • Modules
  • Effects Describe Program Behavior
  • Compilation
  • Garbage Collection
  • References
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.7 of 114 users Rating 4.7 of 114 users (114)
Rating 4.6 of 3447 users Rating 4.6 of 3447 users (3447)