COMPILER AND TRANSLATOR
| Subject Code: | ECP3096 |
| Objective: | To provide the basic understanding of computer compilers, translators and related issues. |
| Pre-Requisite: | ECP1016:
Computer and Program Design |
| Credit Hours: | 3 |
| Contact Hours: | 45 hours (lectures and tutorials) |
| Assessment: | Test/Quiz: 20% Assignment: 10% Tutorial: 10% Final Examination: 60% |
| References: |
|
Learning Outcome of Subject
At the completion of the subject, students should be able
to:·
- Design a FSA given a description of the lexical tokens of a language.
- Write a syntax analyzer based on a FSA.
- Design the BNF for a language.
- Eliminate left recursion on a BNF.
- Use a non-left-recursive BNF to produce a predictive top-down parser.
- Show how bottom-up parsers solve the problem differently from top-down parsers.
- Work in a team to produce a compiler or translator.
Programme Outcomes (% of contribution)
- Ability to acquire and apply fundamental principles of science and engineering. - 10%
- Capability to communicate effectively. - 5%
- Acquisition of technical competence in specialized areas of engineering discipline. -40%
- Ability to identify, formulate and model problems and find engineering solutions based on a system approach. 10%
- Ability to conduct investigation and research on engineering problems in a chosen field of a study.- 10%
- Understanding of the importance of sustainability and cost-effectiveness in design and development of engineering solutions. - 10%
- Understanding and commitment to professional and ethical responsibilities. - 5%
- Ability to work effectively as an individual and as a member/leader in a team. -10%