tristanfaure.com /projects / tiger-compiler

Tiger Compiler

Multi-stage compiler for the Tiger language — C++

2025 · ACADEMIC

Stack

C++ · Flex/Bison · AST · Autotools

Key figures

Stages
Lex · parse · bind · type
Scale
~47k LOC tree
Extension
Objects + desugaring
Build
Autotools + Nix

EPITA's classic compiler-construction project: a multi-stage compiler for the Tiger language — lexer/parser (Flex/Bison), AST construction and cloning, name binding, escape analysis, desugaring, an object extension and a full type checker.

Main personal contributions: the binder and the type checker — the semantic heart of the pipeline.

Code kept private (EPITA assistant-project publication rules).

Links

All 33 projects · Open the interactive portfolio · About Tristan