In this open book, our goal is to study the fundamental concepts in programming languages, as opposed to learning a range of specific languages. Languages are easy to learn, it is the concepts behind them that are difficult. The basic features we study in turn include higher-order functions, data structures in the form of records and variants, mutable state, exceptions, objects and classes, and types. We also study language implementations, both through language interpreters and language compilers. Throughout the book we write small interpreters for toy languages, and in Chapter 8 we write a principled compiler. We define type checkers to define which programs are well-typed and which are not. We also take a more precise, mathematical view of interpreters and type checkers, via the concepts of operational semantics and type systems. These last two concepts have historically evolved from the logician's view of programming.
The material has evolved from lecture notes used in a programming languages course for juniors, seniors, and graduate students at Johns Hopkins University. While the book uses formal mathematical techniques such as operational semantics and type systems, it does not emphasize proofs of properties of these systems. We will nonetheless sketch the intuitions of some proofs.
This open book is licensed under a Creative Commons License (CC BY-SA). You can download Principles of Programming Languages ebook for free in PDF format (1.1 MB).
Tất cả sách điện tử, ebook trên website TimSach.VN đều có bản quyền thuộc về tác giả. Chúng tôi khuyến khích các bạn nếu có điều kiện, khả năng xin hãy mua sách giấy để ủng hộ Tác giả và Nhà xuất bản
Thông báo: Do số lượng bot download quá nhiều, gây ảnh hưởng tới người dùng thực sự cần sách. BQT quyết định yêu cầu đăng nhập để tải sách về.
Các bạn chỉ cần đăng nhập là tải được sách với tốc độ cao.