Skip to content
Louis BertrandIT Project Manager · IS Architect

Systems & Software

Tiger Compiler

A modular C++ compiler pipeline, from lexer to desugared AST

Project sheetTIGR
Role
Development
Context
EPITA, systems curriculum
Stack
C++, Flex, Bison, AST, IR, Autotools
Links
Private source code, demo available on request

Overview

Modular compiler pipeline for the Tiger language, built in C++: lexer (Flex), parser (Bison) with tracked locations, typed AST construction, and desugaring of high-level constructs into core forms. The desugared AST doubles as an intermediate representation for further passes, with utilities for debug printing and structured dumps.

Highlights

  • 01Flex lexer and Bison parser with tracked locations
  • 02Typed AST
  • 03Desugaring into core forms, reused as an intermediate representation
  • 04Debug printing and structured dumps

Next project 42SH

42sh →