Skip to main content
CSC-411
BS

Compiler Construction

(DC) Domain Core Theory: 3 Cr. Hrs Total: 3 Cr. Hrs
Objectives: Main objectives of the course is teach techniques for construction of compilers. The course gives the rich theoretical basis for compiler construction and practical exposure to compiler writing tools. Students will learn the important basic elements of compilation and use the material effectively to design and build a working compiler.

Contents: Concepts of Compilation; Scanning: Regular Expressions, Regular Expression to Scanner; Parsing: Top-Down Parsing, Recursive-Descent Parsing, Bottom-Up Parsing; Parsing Using Tools (YACC/Bison); Context-Sensitive Analysis: The Attribute-Grammar Framework, Syntax-Directed Translation; Intermediate Representations: Graphical IRs, Linear IRs, Symbol Tables; Procedure Abstraction: Procedure Calls, Name Spaces, Communicating Values Between Procedures; Code Generation: Assigning Storage Locations, Arithmetic, Boolean and Relational Operators, Storing and Accessing Arrays, Character Strings, Control-Flow Constructs; Optimization: Local/Regional/ Global and Interprocedural Optimization, Scalar Optimizations.

In Programmes
BS BS (Computer Science)
Semester 6 — Core (Fall 2026 onwards)
Back to Course Catalog