Programming Languages: Build, Prove, and Compare
- Length: 600 pages
- Edition: N
- Language: English
- Publisher: Cambridge University Press
- Publication Date: 2022-10-27
- ISBN-10: 110718018X
- ISBN-13: 9781107180185
- Sales Rank: #769808 (See Top 100 Books)
Computer scientists often need to learn new programming languages quickly. The best way to prepare for this is to understand the foundational principles that underlie even the most complicated industrial languages. This text for an undergraduate programming languages course distills great languages and their design principles down to easy-to-learn ‘bridge’ languages implemented by interpreters whose key parts are explained in the text. The book goes deep into the roots of both functional and object-oriented programming, and it shows how types and modules, including generics/polymorphism, contribute to effective programming. The book is not just about programming languages; it is also about programming. Through concepts, examples, and more than 300 practice exercises that exploit the interpreter, students learn not only what programming-language features are but also how to do things with them. Substantial implementation projects include Milner’s type inference, both copying and mark-and-sweep garbage collection, and arithmetic on arbitrary-precision integers.