Interpretation and Compilation of Programming Languages
Objectives
Knowledge1.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 Application4.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-Skills7.To reason about complex systems at different levels of abstraction 8.To design general purpose designs based on first principles |
General characterization
Code
8152
Credits
6.0
Responsible teacher
Luís Manuel Marques da Costa Caires
Hours
Weekly - 4
Total - Available soon
Teaching language
Português
Prerequisites
Kmowlede of advanced programming, data structures and algorithms
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.
Teaching method
Available soon
Evaluation method
Available soon
Subject matter
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)