Limit search to available items
Book Cover
Book
Author Pierce, Benjamin C.

Title Types and programming languages / Benjamin C. Pierce
Published Cambridge, Mass. : MIT Press, 2002

Copies

Location Call no. Vol. Availability
 MELB  005.13 Pie/Tap  AVAILABLE
 MELB  005.13 Pie/Tap  AVAILABLE
Description xxi, 623 pages : illustrations ; 24 cm
Contents 1. Introduction -- 2. Mathematical Preliminaries -- I. Untyped Systems -- 3. Untyped Arithmetic Expressions -- 4. An ML Implementation of Arithmetic Expressions -- 5. The Untyped Lambda-Calculus -- 6. Nameless Representation of Terms -- 7. An ML Implementation of the Lambda-Calculus -- II. Simple Types -- 8. Typed Arithmetic Expressions -- 9. Simply Typed Lambda-Calculus -- 10. An ML Implementation of Simple Types -- 11. Simple Extensions -- 12. Normalization -- 13. References -- 14. Exceptions -- III. Subtyping -- 15. Subtyping -- 16. Metatheory of Subtyping -- 17. An ML Implementation of Subtyping -- 18. Case Study: Imperative Objects -- 19. Case Study: Featherweight Java -- IV. Recursive Types -- 20. Recursive Types -- 21. Metatheory of Recursive Types -- V. Polymorphism -- 22. Type Reconstruction -- 23. Universal Types -- 24. Existential Types -- 25. An ML Implementation of System F -- 26. Bounded Quantification -- 27. Case Study: Imperative Objects, Redux
28. Metatheory of Bounded Quantification -- VI. Higher-Order Systems -- 29. Type Operators and Kinding -- 30. Higher-Order Polymorphism -- 31. Higher-Order Subtyping -- 32. Case Study: Purely Functional Objects
Summary A type system is a syntactic method for automatically checking the absence of certain erroneous behaviors by classifying program phrases according to the kinds of values they compute. The study of type systems--and of programming languages from a type-theoretic perspective -- -has important applications in software engineering, language design, high-performance compilers, and security. This text provides a comprehensive introduction both to type systems in computer science and to the basic theory of programming languages. The approach is pragmatic and operational; each new concept is motivated by programming examples and the more theoretical sections are driven by the needs of implementations. Each chapter is accompanied by numerous exercises and solutions, as well as a running implementation, available via the Web. Dependencies between chapters are explicitly identified, allowing readers to choose a variety of paths through the material. The core topics include the untyped lambda-calculus, simple type systems, type reconstruction, universal and existential polymorphism, subtyping, bounded quantification, recursive types, kinds, and type operators. Extended case studies develop a variety of approaches to modeling the features of object-oriented languages
Bibliography Includes bibliographical references (pages [567]-603) and index
Notes Print version record
Subject Programming languages (Electronic computers)
LC no. 2001044428
ISBN 0262162091 (hc. : alk. paper)