Engineering - Course - Compilers

  • Course Code: COMP452
  • Credits: 3
  • Hours Distribution: (3Crs.: 2Lec, 2Lab)
  • Course Type: Computer Engineering Core Courses (CECC)

Course Description

Introduction to language translation. Language translation phases. Generators. Lexical analysis: Regular expressions; NFA; DFA. Syntactic analysis: Formal definition of grammars; BNF and EBNF; bottom-up vs. top-down parsing; Tabular vs. recursive-descent parsers; Error handling; Models of execution control. Declaration, modularity, and storage management. Code generation. Emphasis on automatic compiler generation and compiler-compiler tools. Pre-req.: COMP 311.