Type: | Open University Language: English |
|
|
No credit points with: D4461
|
|
Prerequisite: 92404
|
|
Recommended semester: 5th or 6th semester
|
Scope and form: Class lectures and project work.
|
Examination: Evaluation of report(s) (13-scale)
|
|
|
|
|
Department: Department of Applied Electronics
|
Aim: - understanding the different principles for programming languages.
- to enable the student to use different programming languages, and
-to enable the student to construct simple interpreters and compilers.
|
Contents: Interpretation versus compilation. Imperative languages, logic languages. Object oriented programming. Procedure facilities, block structures, modules. Implementation of recursive and reentrant programming.
Presentation of different languages.
Principles for construction of compilers/interpreters: EBNF notation, lexical analysis, syntax analysis using either recursive descent or bottom-up table methods, semantic analysis, code generation. Compiler-compilers.
A practical mini-compiler as an example of both a compiler and a bigger project.
|