INF5110 – Compiler Construction
Introduction Spring 2016
1 / 33
INF5110 Compiler Construction Introduction Spring 2016 1 / 33 - - PowerPoint PPT Presentation
INF5110 Compiler Construction Introduction Spring 2016 1 / 33 Outline 1. Introduction Introduction Compiler architecture & phases Bootstrapping and cross-compilation 2 / 33 Outline 1. Introduction Introduction Compiler
1 / 33
2 / 33
3 / 33
4 / 33
5 / 33
6 / 33
7 / 33
8 / 33
9 / 33
1C-preprocessing is still considered sometimes a useful hack, otherwise it
2the single most primitive way of “composing” programs split into separate
3Compare also to the \newcommand-mechanism in L A
10 / 33
11 / 33
12 / 33
13 / 33
14 / 33
15 / 33
16 / 33
17 / 33
18 / 33
19 / 33
20 / 33
4not that one has much of a choice. Difficult or not, no one wants to
21 / 33
22 / 33
23 / 33
24 / 33
25 / 33
26 / 33
27 / 33
28 / 33
29 / 33
30 / 33
31 / 33
32 / 33
[Aho et al., 1986] Aho, A. V., Sethi, R., and Ullman, J. D. (1986). Compilers: Principles, Techniques and Tools. Addison-Wesley. [Louden, 1997] Louden, K. (1997). Compiler Construction, Principles and Practice. PWS Publishing. 33 / 33