Programming Languages and Compilers WS 2013/14 - Slide 102

Objectives:
Relate language properties to levels of definitions
In the lecture:
- These are prerequisites of the course "Grundlagen der Programmiersprachen" (see course material GPS-1.16, GPS-1.17).
- Discuss the examples of the following slides under these categories.
Suggested reading:
Kastens / Übersetzerbau, Section 1.2
Assignments:
- Exercise 1 Let the compiler produce error messages for each level.
- Exercise 2 Relate concrete language properties to these levels.
Questions:
Some language properties can be defined on different levels.
Discuss the following for hypothetical languages:
- "Parameters may not be of array type." Syntax or static semantics?
- "The index range of an array may not be empty." Static or dynamic semantics?
©2009 by Prof. Dr. Uwe Kastens
Generiert mit Camelot | Probleme mit Camelot? | Geändert am: 07.10.2013