Programming Languages and Compilers
Lecture 15
In this
lecture we will round off the course by looking at the programming language and
compiler lifecycle. We will discuss some of the issues that we didn’t have time
to look at in detail and hot topic in programming language and compiler
research.
The slides
for this lecture can be found here and here.
Literature
Watt &
Brown, chapter 9.
Pratt
& Zelkowitz, appendix A.
Exercises
Exercises
for lecture 15 will be done from 8.15 till 10.00 on Wednesday the 21th
of May.
For those
of you taking the course as an SE course this will also be an opportunity to
discuss the exam and the syllabus will be published before.
- Pratt & Zelkowitz,
exercise 2.4.7 on page 68.
- Do Watt and Brown exercise 9.1
on page 353, try C, Java and SML compilers
- Do Watt and Brown exercise 9.2
on page 353 – do this for the language you are implementing.
- Do Watt and Brown exercise 9.4
on page 353, try gcc, look at gcc flags
controling optimizations
- Do Watt and Brown exercise 9.5
on page 354
- Do Watt and Brown exercise 9.6
on page 354
- Do Watt and Brown exercise 9.8
on page 355 – sketch the solution
- Do Watt and Brown exercise
9.14 on page 357 – sketch the solution
- Do Watt and Brown exercise
9.17 on page 358 – sketch the solution
- Do Watt and Brown exercise
9.18 on page 358 – sketch the solution