Week by week 2020/2021 OLD INSTANCE

Links will work after the corresponding lecture. Before that, they may give a Not Found or 404 error.
Meanwhile, if you would like to take a look at last year's slides, etc., they are available here.
Note that the information below is preliminary and might be updated.

Go to: Week 1, Week 2, Week 3, Week 4, Week 5, Week 6, Week 7, Week 8, Exam,


IMPORTANT NOTICE: See Retake April 2021 for important instructions about the retake exam.


Week 1 (Aug 31 - Sep 4)

Register formally in LADOK

Sign up on Moodle

Lecture 1: Introduction

Sign up for lab sessions

Assignment 0. Java, Unix, and Gradle.

Lecture 2: Regular Expressions, Scanning

Assignment 1. Scanning and simple parsing.

Homework progress bar


Week 2

Lecture 3: Context-free grammars. Recursive-descent parsing.

Lecture 4: Ambiguities. LL problems.

Assignment 2. LR parsing and AST building

Lab sessions. Thursday.

Homework progress bar


Week 3

Lecture 5: LL parsing. Abstract Syntax Trees.

Lecture 6: LR parsing. Visitors.

Assignment 3. Visitors, Aspects, and Attribute Grammars.

Lab sessions. Thursday.

Homework progress bar


Week 4

Lecture 7: Aspects. Attribute Grammars.

Lecture 8: Reference attributes, Semantic Analysis.

Assignment 4. Semantic analysis using reference attribute grammars.

Lab sessions. Thursday.

Homework progress bar


Week 5

Lecture 9: Circular attribute grammars. Interpreters.

Lecture 10: Runtime Systems

Assignment 5. Interpreter and static analysis

Lab sessions. Thursday.

Homework progress bar


Week 6

Lecture 11: Code generation.

Lecture 12: Object-oriented languages, Runtime Optimization.

Assignment 6. Code generation

Lab sessions. Thursday.

Homework progress bar


Week 7

Lecture 13: Course review before exam.

Lecture 14: Guest lecture on ExtendJ, Tuesday, Oct 13, 11:15-12:00

Extra catch-up lab session.

If you are behind with the assignments you are welcome to this lab session.

Lab sessions. Thursday.

Sign up for exam.

Sign up for the exam. You will get an automatic email about this.

Homework progress bar


Week 8

Catch-up lab session.

Study old exams


Exam

At the exam, you may use the following documents. Copies of them will be available at the exam. You do not need to bring your own.

You may also use a dictionary from English to your native language.

Ordinary exam

Retake of exam