Course Description
Course Aims and objectives
Course outlines
Text book and references
Prerequisite
Grading policy
Instructors and office hours
Syllabus
Time table
Lecture Notes
Attached Files
Previous Exams
Course Description
Course Aims And Objective
| The main objectives of this course are: 1- Understand the structure of compilers. 2- Understand the basic techniques used in compiler construction such as lexical analysis, top-down, bottom-up parsing, context-sensitive analysis, and intermediate code generation. 3- Understand the basic data structures used in compiler construction such as abstract syntax trees, symbol tables, three-address code, and stack machines. 4- Design and implement a compiler using a software engineering approach. 5- Use generators (e.g. Lex and Yacc) ; |
Course Outline
| Introduction to Compiling | |
| The role of language translation in the programming process; Comparison of interpreters and compilers, language translation phases, machine ?dependent and machine ?independent aspects of translation, language translation as a software engineering activity | |
| Lexical Analysis | |
| The Role of the Lexical Analyzer, Specification of Token recognition of Tokens, | |
| Syntax Analysis | |
| Introduction Context-Free Grammars Syntax Analysis: Top-Down Parsing Syntax Analysis: Bottom-Up Parsing | |
| Intermediate-Code Generation | |
| Variants of Syntax Trees Intermediate-Code Generation Three-Address Code | |
| Code Optimizations | |
| what is code Optimization Basic Blocks and Flow Graphs Optimization of Basic Blocks | |
| Code Generator | |
| Issues in the Design of a Code Generator Code Generation: The Target Language, Addresses in the Target Code |
Text book and references
| The Main Book | |
| Title | Compiler, Principle, Techniques and Tools, Alfred V. Aho & Ravi Sethi |
| Author(s) | |
| Edition | |
| Publisher | Addison-Wesley |
| The References Book | |
| Title | The essence of compiler, Robin Hunter, |
| Author(s) | |
| Edition | 1999 |
| Publisher | Prentic Hall |
| Title | |
| Author(s) | |
| Edition | 91 |
| Publisher | Cummings Publishing |
Grading Policy
| Activity | Weight |
| First examination | 15 |
| Second Examination | 15 |
| Final examination | 50 |
| Reports, research projects, Quizzes, Home works, Projects | 20 |
Instructors And Office Hours
| The Instructors of the Course | |
| Name: | فينوس وزير سماوي |
| Office Hours: | 10:0-11:0 |
| Office Phone: | (962) 2 6297000 ext 3389 |
| Instrcutor Mail: | venus@aabu.edu.jo |
Miscellaneous
Time Table
| Subject | Hours | |
| Introduction to Compiling: | 6 | |
| Lexical Analysis: | 9 | |
| Syntax Analysis | 18 | |
| Syntax-Directed Translation | 6 | |
| Intermediate-Code Generation | 9 | |
| Code Generation | 6 | |
| Run-Time Environments | 3 | |
| null | 0 |
| Attachment Files |
Previous Exams
| Previous Exams | ||
| introduction.ppt | View | |