Tribhuvan University

Institute of Science and Technology

Bachelor of Science in Computer Science and Information Technology

Course Title: Compiler Design and Construction

Course no: CSC365

Semester: VI

Nature of course: Theory + Lab

Full Marks: 60 + 20 + 20

Pass Marks: 24 + 8 + 8

Credit Hours: 3

Course Description : This course is designed to develop acquaintance with fundamental concepts of compiler design. The course starts with the basic concepts and also includes different phases of compilers like lexical analysis, syntax analysis, syntax-directed translation, type checking etc. in detail.

Course Objective : To develop knowledge in compiler design To develop lexical analyzers, parsers, and small compilers using different tools To develop lexical analyzers, parsers, and small compilers by using general purpose programming languages.

Course Contents:
Laboratory Works:

The laboratory work develops practical knowledge on different concepts of compiler design.

Students should

  • Create a project by using lexical analyzer generator or any high level language
  • Create a parser by using parser generator or any high level language
  • Write programs for intermediate code generation and machine code generation
  • Create front end of a compiler and using general purpose programming languages

Reference Books:
  • Compilers Principles, Techniques, and Tools, Alfred V. Aho, Ravi Sethi, Jeffrey D. Ullman; Pearson Education
  • Introduction to Automata Theory, Languages, and Computation, Johne E. Hopcroft, Rajeev Motwani, Jeffrey D. Ulman, Pearson Education
  • Advanced Compiler Design and Implementation, Steven Muchnick, Morgan Kaufman Publication