Kylian Nézan
← Back
2025 FINISHED

Tiger Compiler

Tiger compiler in C++. Complete front-end as a team: lexing, parsing, semantic analysis, all the way to LLVM IR generation.

C++LLVMCOMPILATIONFRONT-END

STACK

C++LLVM IRBisonFlexCMake

HIGHLIGHTS

  • Complete Tiger front-end: scanner and parser written with Flex and Bison, AST construction, bindings resolution, unique identifiers, escape analysis.
  • Static type-checking with contextualised error messages, and syntactic-sugar removal on the AST before later passes.
  • LLVM IR codegen: lowering from the AST to an intermediate representation ready for LLVM optimisation passes and code generation.