FP8-17 Course Description Schedule Resources Semester Plan

Software Programmable Signal Processing Platform Analysis, Spring 2007: Episode 2

FP8-17: Software Programmable Signal Processing Platform Analysis

Lecture, February 12, morning

Subject: Compiler architecture. Syntax processing.

Text: skim Appel, chpt. 1. Focus on the tree representation and on the layers of the compiler. Technical details are less important. Read p. 16, sections 2.1–2.2, skim p.39–41, read section 3.1 and pp. 72–75. Skim 4.2 until p.95 (do not read on positions). Figure 4.7 p. 98 may also be useful to look at.

Prerequisites: basic knowledge of C programming language

Comments: We shall first have an architectural view on a compiler and its environment. Then we sketch the mechanisms used in the implementation of syntactical and lexical analyses. We skip many details of how this analyses are implemented. Students attracted by the idea of implementing a custom compiler may want to read entire chapters 2 and 3.

Additional information on C preprocessor can be found in the manual of the GNU preprocessor. Type man cpp or info cpp on your Unix machine, or point your browser here.

Time: Monday, 12 Feb, 8:15–10:00. Room NJV14 3-119

Tutorial: 10:15–12:00. Room your group office.

Resources:

episode02-handout.pdf
lecture slides
exercises02.pdf
exercise sheet
hello.c
a step by step compilation example (read the comment on top of the file)