Interpretation and Compilation of Programming Languages (2021/2022) - Departamento de Informática
Description

This course aims at teaching solid knowledge and concepts in the design and implementation of programming languages and the corresponding tools. This goal is reached by the systematic study of the syntax, semantics and pragmatics of programming language.

Objectives

Knowledge

1.To know the architecture and techniques used in the design and implementation of interpreters, compilers and type systems

2.To know the essential components of the design of programming languages and corresponding semantics

3.To define programming languages by composition of base elements

Application

4.To define algorithms of the abstract representation of programs

5.To describe language semantics by interpreting, compiler and verification algorithms

6.To design and implement compiler procedures targeting concrete virtual machines

Soft-Skills

7.To reason about complex systems at different levels of abstraction

8.To design general purpose designs based on first principles

Syllabus

A.Principles 1.Programming Language Syntax 2.Programming Language Semantics 3.Interpretation levels, Principles of Language Processing and Compilation. B.Program interpretation and Compilation 1.Expressions and values; Definitions and environments 2.State and references; memory-environment model 3.Functional abstraction; first-class and higher order functions 4.Recursive definitions 5.Structured values: records and recursive values 6.Objects and Classes: Objects represented with records and closures C.Type Systems 1.Principles, goals and limitations of static analysis methods 2.Simple type systems: functional types 3.Verification and inference algorithms D.Compilers and Runtime support systems 1.Compiler architecture 2.Runtime support systems 3.Syntax driven code transformation 4.Code generation to intermediate languages (CLR, Java Virtual Machine)

Bibliography

- “Concepts in Programming Languages”, John C. Mitchell, Cambridge University Press. ISBN 0 521 78098 5 - “Essentials of Programming Languages”, Daniel Friedman, Mitchell Wand, Christopher Haynes, MIT Press. -- “Modern Compiler Implementation in Java” Andrew W. Appel, Cambridge University Press - “The Study of Programming Languages”, Ryan Stansifer, Prentice Hall International Edition.

Prerequisites

Kmowlede of advanced programming, data structures and algorithms

Student work
  Hours per credit 28
  Hours per week Weeks Hours
Total hours 0
ECTS 6.0