Project information

  • Category: Compiler
  • UE: Language theory and Compiling
  • Project date: Semester 5, 2023
  • Project code: Github
  • Technology: Java

Project description :

The aim of this project is to impl ́ement a compiler, which translates the TCL language (Théorie de la Compilation et des Langages) into assembly language. I carried out this project with Antonin Sylvestre and Thomas VITTORE. Our section in this project is to generate a Program object from the AST and types obtained by group 1, by implementing the methods of CodeGenerator.java. This class contains visitors to the AST that return an object of type Program, containing linear code, i.e. assembly code that uses an arbitrary number of registers.