Component
École Nationale Supérieure d'Électrotechnique d'Électronique d'Informatique d'Hydraulique et des Télécommunications
Objectives
The student must master the various stages of language translation: lexical analysis, syntactic analysis and semantic analysis. In the particular case of the compilation, he must know four phases of the semantic analysis: the resolution of the identifiers thanks to a table of symbols, the typing, the memory placement of the variables and the code generation. The student will create a compiler that will take in input a sub-part of C language, and produce code for an abstract stack machine. The compiler will itself be written in Java using XText.