Principles of Programming Languages
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.
Download free tutorial in PDF (163 pages) created by Mike Grant .
| Pages | 163 |
|---|---|
| Size | |
| File type | HTML |
| Downloads | 220 |
| Created | 2021-05-15 |
| License | Free |
| Author(s) | Mike Grant |
Others related eBooks about Principles of Programming Languages
-
Mind Hacking: How to Change Your Mind for Good in 21 Days
This book teaches you how to reprogram your thinking -- like reprogramming a computer -- to give you increased mental efficiency and happiness....
-
Developing Backbone.js Applications
Download free course Developing Backbone.js Applications, pdf file on 346 pages by Addy Osmani....
-
Go Succinctly
Download free course Go Succinctly, pdf file on 104 pages by Mark Lewin....
-
Rethinking Productivity in Software Engineering
This open access book collects the wisdom of a seminar on productivity in software engineering, a meeting of community leaders, who came together with the goal of rethinking traditional definitions and measures of productivity....
-
Flutter Succinctly
Download free course Flutter Succinctly, pdf file on 129 pages by Ed Freitas....
-
The Elements of Data Analytic Style
Download free course The Elements of Data Analytic Style, pdf file on 98 pages by Jeff Leek....
-
WPF Debugging and Performance Succinctly
Download free course WPF Debugging and Performance Succinctly, pdf file on 79 pages by Alessandro Del Sole....
-
Re-engineering the Uptake of ICT in Schools
Download free course Re-engineering the Uptake of ICT in Schools, pdf file on 214 pages by Frans Van Assche, Luis Anido, David Griffiths, Cathy Lewin, Sarah McNicol....
-
The Official Raspberry Pi Beginner's Guide
The Raspberry Pi is a small, clever, British-built computer that’s packed with potential. Made using the same technology you find in a smartphone, the Raspberry Pi is designed to help you learn coding, discover how computers work, and build your own amazing things. Fully updated for Raspberry Pi 4...
-
META-NET Strategic Research Agenda for Multilingual Europe 2020
Download free course META-NET Strategic Research Agenda for Multilingual Europe 2020, pdf file on 94 pages by Georg Rehm, Hans Uszkoreit....