|Objective:||To provide the basic understanding of computer compilers, translators and related issues.|
|Pre-Requisite:||ECP1026: Algorithm and Data Structure|
|Contact Hours:||56 hours (lectures and tutorials)|
Final Examination: 60%
|Laboratory:||The programming tutorials will be conducted using the GCC compiler in the LINUX operating system.
|Details of Assignment:||Example:|
Title: Development of a Simple Lexical Analyser and a Simple Predictive Parsing Compiler.
Objective: To give the students some hands on exercise on compiler writing for a simple and specific code and language.
Type: Compiler Design.
Description: A BNF of a new language is given. The students are required to write a compiler for that language that will translate it into an assembly language. Test programs written in that new language will be tested on the compiler, and the results run to see how accurate the implementation is. (The actual language to be compiled is changed every time the course is offered.)
Structure and Design
Implementation and Interpretation
At the completion of the subject, students should be able to perform the following tasks: