Compilers and Interpreters
This is the home pahe for the course
Compilers and interpreters
(in Swedish: Kompilatorer och interpretatorer)
given in study period 1 (September-October) autumn semester 2018.
This year, the course language is English, but questions can be asked
in English or Swedish.
I will translate if required.
Some of the instructions below are still in Swedish,
but I will translate them. Ask me if you have any problems!
Quick links:
Lectures
1
2
3
4
5
6
7
8
9
10
11
12
|
Assignments
0
1
2
3
4
5
6
(7)
Allmän information om kursen
Nyheter
-
January 9, 2019:
Today's exam
(in Swedish only, no solutions)
-
December 5, 2018:
A course evaluation from the EvaSys system: in
Swedish
and in
English
-
November 19, 2018:
Det fanns en tentagenomgång inlagd på schemat nu på onsdag
(21 november). Den är ersatt med ett extra labbtillfälle, klockan
13:15-15:00 i T122.
-
October 29, 2018:
Today's exam,
in Swedish
and
in English,
with
solutions (in Swedish).
-
October 11, 2018:
There will be an extra lecture on October 19
(Friday week 42) at 13:15 - 15:00 in room T135!
-
October 1, 2018:
Two lectures were cancelled due to illness.
There will be an extra lecture on October 10
(Wednesday week 41) at 08:15 - 10:00 in room T135!
That lecture will be number 8, about run-time environments and
garbage collection.
-
August 31, 2018:
A short
welcoming letter
that I sent out today.
-
August 31, 2018:
The first lecture is Tuesday September 4 in room T135, 13:15-15:00. Welcome!
Videofilmade föreläsningar från 2012 på YouTube
Nr | Innehåll | Video |
1 |
Kompilatorer - vad, hur och varför? |
del 1,
del 2
|
2 |
Syntax och grammatiker |
del 1,
del 2
|
3 |
Syntaktisk analys ("parsning"). En mycket enkel kompilator. |
del 1,
del 2
|
4 |
Mer om syntaktisk analys. Bottom-up parsing. Parser-generatorer. |
del 1,
del 2
|
5 |
Yacc och Bison |
del 1,
del 2
|
6 |
Lexikalisk analys ("scanning"). Lex och Flex. Reguljära uttryck. |
del 1,
del 2
|
7 |
Syntax-styrd översättning. Att bygga syntax-träd. |
del 1,
del 2
|
8 |
Run-time-omgivningar. Skräpsamling. |
del 1,
del 2
|
9 |
Att exekvera syntaxträdet. Stackmaskiner. |
del 1,
del 2
|
10 |
Typsystem och typkontroll |
del 1,
del 2
|
11 |
Intermediärkod och optimering |
del 1,
del 2,
del 3
|
12 |
Kodgenerering |
film
|
Övrigt kursmaterial
Kurslitteratur
-
Kursbok:
Aho, Lam, Sethi, Ullman:
Compilers: Principles, Techniques, and Tools,
Second Edition,
Addison Wesley, 2007.
Paperback:
ISBN-10 0321491696
ISBN-13 978-0321491695.
Hardcover:
ISBN-10 0321486811
ISBN-13 978-0321486813.
[Länk till paperback-upplagan på Amazon.co.uk]
-
The above version seems to be hard to find, and expensive,
but there is a new version of the book, with the same content:
ISBN-10: 1292024348,
ISBN-13: 978-1292024349.
Buy it from
amazon.co.uk
or from
amazon.com!
Thomas Padron-McCarthy
(thomas.padron-mccarthy@oru.se),
January 18, 2019