On this page
Instituto Superior Técnico

MEIC-A · Instituto Superior Técnico

Programming Languages

LPCourse Page
  • 6 ECTS
  • P4
  • Exam: Mandatory
Overall
5
2
4
3
3
0
2
0
1
0
4.4
★★★★★★
5 ratings
Workload
Very light
0
Light
0
Moderate
2
Heavy
0
Very heavy
0
Moderate2 ratings

Feedback

2024/2025
★★★★★
Workload:Moderate

8 months ago

Os conteúdos desta cadeira são excelentes. Os projetos são acessíveis e muito interessantes, mas o código base fornecido vem bastante desorganizado e desformatado. A parte da matéria de SASyLF é dada demasiado depressa, o que a torna difícil de perceber, prejudicando também a execução do segundo projeto. Os dois testes são acessíveis e em exame de recurso foi permitido melhorar cada teste individualmente, o que é excelente.

★★★★★
Workload:Moderate

last year

Cadeira bastante interessante. O projeto é fazer um interpretador para uma linguagem, mais ou menos parecido com compiladores. O professor tornou a cadeira mil vezes mais interessante. Dos melhores professores que já tive. Não sei bem como vou usar este conhecimento no futuro, mas gostei muito da cadeira.

The reviews below this point may be outdated. Course content, teaching methods, and requirements may have changed since then.

2021/2022
★★★★★

4 years ago

I really enjoyed the theoretical classes. The Professor João Ferreira is super engaging and was very attentive to the transition, even changing the course direction midway.

There were many obstacles due to COVID, holidays, etc., but overall it didn't require too much work.

The theoretical classes are extremely important and very practical. Labs are more individualized and focused on project support.

The exam covers ALL the material and requires solving exercises by hand. It took some effort to study, but the...

2020/2021Pre-MEPP
★★★★★

5 years ago

LP depends a lot on the evaluation method.

Normally it's based on theoretical tests, but last year it was based on practical programming exercises and some theoretical quizzes.

The practical exercises weren't difficult at all, but to get the maximum grade you really had to put some effort into them and maybe attend the office hours.

The theoretical quizzes were done on the Quizzes Tutor platform, which wasn't great :/. It consisted of multiple-choice questions, and again, you didn't need to study much because there wasn't a lot of material to cover, and making some summaries from the...

★★★★★

5 years ago

In LP, we explored language modeling from different perspectives, and then learned to work with Coq to formally prove properties of what we model. Coq is a bit strange at first, but I personally enjoyed it.

The theoretical classes are actually quite practical, and the professor João Ferreira is excellent at explaining concepts. He always proceeds calmly and step-by-step.

The labs lectures consisted of exercises related to the lecture material or they provided support for the project. The exercises truly helped us keep up with the...

About the course

Objectives

Develop an understanding of key programming language concepts. Acquire and use tools to rigorously study computer programs and to solve problems that involve programming languages. Use interactive proof assistants. Design and model (simple) programming languages. Define the static and dynamic semantics of programming languages using meta-interpreters and / or proof assistants. Formally prove properties of programs and programming languages.

Syllabus

Syntax and semantics of programming languages: incremental presentation, covering abstract syntax, dynamic semantics (executable abstract interpreter) and static semantics (type systems). Expressions, Names, Bindings, Definitions, Environments. Functions, Lambda-Calculus, higher-order functions. Evaluation rules (call-by-value, call-by-name, call-by-need). Status and References. Aliasing and Linearity. Union and Product types. Recursion and Recursive Types. Classes and Objects. Subtyping and Polymorphism. Advanced Type systems (optional).

Prerequisites

Previous programming experience

Cross Competence Component

The assessment includes a group project in which students develop critical thinking, problem solving strategies and creativity; intrapersonal skills such as proactivity, initiative, productivity and time management; interpersonal skills such as teamwork, oral communication and leadership; and media literacy as a result of using development environments, proof assistants, and creating digital presentations. Finally, the rules of the course create global citizenship skills, namely work ethics. These skills are mainly assessed in the implementation of the project, which is worth 50% of the final grade.

Laboratorial Component

Implementation of fundamental concepts of programming languages, based on the implementation of interpreters and type-checkers. Support during the implementation of projects. Public presentation of the projects carried out and their discussion.

Programming And Computing Component

The degree where this course is offered ensures the programming and computing components according to MEPP 2122.

Ethical Principles

All members of a group are responsible for the group's work. In any assessment, every student shall honestly disclose any help received and sources used. In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Something missing or out of date?

Assessment

Project (50%) and Exam (50%)

Has the assessment changed, or is something missing?

Bibliography

Main Bibliography

Optional Bibliography

  • Programming Languages and the Lambda Calculi: Mathias Felleisen and Matthew Flatt 2006
    • Programming Language Pragmatics: Michael L. Scott 2009 Morgan Kaufmann Publishers
    • Certified Programming with Dependent Types: Adam Chlipala 2013 MIT Press
    • Structure and Interpretation of Computer Programs: Harold Abelson, Gerald Jay Sussman 1996 MIT Press

Missing a book or some materials?