| Lecture | Date | Subject | Slides | Notes | Additional Material |
|---|---|---|---|---|---|
| 01 | 13/1 | Language Processing, Induction |
Slides in color, Slides in b/w, |
Notes 01 | For the mathematics behind T-diagrams,
take a
look at the original paper: J. Earley and H. Sturgis. A
formalism for translator interactions. Communications of the ACM,
13:607-617, 1970. Programming languages are ubiquitous in the world of IT. To illustrate this point, a description is given what languages were used to produce the slides for lecture 01. |
| 02 | 20/1 | ePL: An Overture |
Slides in color, Slides in b/w webcast |
Notes 02 | - |
| 03 | 24/1 | simPL: Language, Dynamic and Static Semantics and their Implementation |
Slides in color, Slides in b/w, webcast not available due to technical problems |
Notes 03 | - |
| 04 | 3/2 | Typing + Denotational Semantics for simPL = A Realistic Interpreter |
Slides in color, Slides in b/w, webcast |
Notes 04 | - |
| 05 | 10/2 | A Virtual Machine for simPL |
Slides in color, Slides in b/w, webcast |
Notes 05 | - |
| 06 | 17/2 | Memory Management |
Slides in color, Slides in b/w, webcast |
Notes 06 |
To understand how Cheney's algorithm interacts with the virtual
machine, take a look at the
Flash animation created by a
previous student Pham Thanh Phong.
For a detailed look at the workings of Cheney's algorithm, look at an animation created by Bryan Scappini. |
| 07 | 2/3 | rePL I |
Slides in color, Slides in b/w, webcast |
Notes 07 | - |
| 08 | 9/3 | rePL II |
Slides in color, Slides in b/w, webcast |
see Notes 07 | - |
| 09 | 16/3 | imPL |
Slides in color, Slides in b/w, webcast |
Notes 09 | - |
| 10 | 23/3 | oPL |
Slides in color, Slides in b/w, webcast |
Notes 10 | - |
| 11 | 30/3 | cPL |
Slides in color, Slides in b/w, webcast not available due to technical problems |
Notes 11 | - |
| 13 | 13/3 | Challenge presentation and summary |
Mark & Sweep by
Chen Weiguang, Type Inference by Romain Edelmann, webcast 1 webcast 2 |
no notes, but a white board written by the lecturer, picture taken by Heng Low Wee | - |
| Self-assessment | Self-assessment solution | Lab task | Date handed out | Time due | Lab task solution | Additional Material |
| Self-assessment 1 | - | - | - | - | - | - |
| - | - | Lab task Week 2 | 20/1 | 26/1, 23:59pm; submit the files ePLdynamic\Evaluator.java and eVM\VM.java in the IVLE workbin "Lab Tasks Week 2" | Lab task Week 2 Solution | - |
| - | - | Lab task Week 3 | 31/1 | 3/2, 23:59pm; submit the file simPL\Application.java in the IVLE workbin "Lab Tasks Week 3" | Lab task Week 3 Solution | - |
| - | - | Lab task Week 4 | 3/2 | 9/2, 23:59pm; submit the files in the IVLE workbin "Lab Tasks Week 4" | Lab task Week 4 Solution | - |
| - | - | Lab task Week 5 | 10/2 | 16/2, 23:59pm; submit the files in the IVLE workbin "Lab Tasks Week 5" | Lab task Week 5 Solution | - |
| - | - | Lab task Week 6 | 19/2 | 1/3, 23:59pm; submit the files in the IVLE workbin "Lab Tasks Week 6" | Lab task Week 6 Solution | Slides shown in Lab Week 7 in color and B/W for printing |
| - | - | Lab task Week 8 | 12/3 | 17/3, 23:59pm; submit the files in the IVLE workbin "Lab Tasks Week 8" | Lab task Week 8 Solution | Slides shown in Lab Week 9 in color and B/W for printing |
| - | rr- | Lab task Week 9 | 19/3 | 24/3, 23:59pm; submit the file in the IVLE workbin "Lab Tasks Week 9" | Lab task Week 9
Solution (including optional parts) Lab task Week 9 Solution for testing student programs |
- |
| - | - | Lab task Week 10 | 27/3 | 31/3, 23:59pm; submit the file in the IVLE workbin "Lab Tasks Week 10" | Lab task Week 10 Solution | - |
| - | - | Lab task Week 11 | 28/3 | 7/4, 23:59pm; submit the file in the IVLE workbin "Lab Tasks Week 11" | Lab task Week 11 Solution | - |
| Date handed out | Challenge | Time Due | Additional Material | Selected Submissions |
| 9/3 | Just-in-time compilation of simPL | 30/3, 23:59 | - | - |
| 9/3 | Machine code verification | 30/3, 23:59 | - | - |
| 9/3 | Compiling simPL to x86 machine code | /3, 23:59 | - | - |
| 9/3 | Mark-and-Sweep Garbage Collection for simPL | 30/3, 23:59 | - | - |
| 9/3 | Reference Counting Memory Management for simPL | 30/3, 23:59 | - | - |
See midterm questions and answers. See also sample midterm questions and solutions for practice, and another one for additional practice.