Back to work
CSE420: Compiler Design · 2023

C Compiler - Intermediate Code Generator

Two-pass compiler transforming C-like source code into three-address intermediate code using Abstract Syntax Tree (AST) based code generation. Implements complete compilation pipeline from lexical analysis to intermediate representation.

Compiler pipeline: Lexical → Syntax → AST → Intermediate Code
[ KEY ]

Technical highlights

  1. 01

    Full compiler front-end with Flex lexical analysis and Yacc/Bison syntax analysis.

  2. 02

    AST-based semantic analysis with symbol table management for type checking and scope resolution.

[ STK ]

Stack

  • C++
  • Flex
  • Yacc/Bison
  • AST
  • Compiler Design