Introduction - If you have any usage issues, please Google them yourself
The basic idea of introducing the attribute grammar and syntax directed translation method, lexical analysis of the control structure of "IF-ELSE" conditional statements, and LR syntax analysis based on lexical analysis, and conditional statements translation into four yuan intermediate code according to the grammar translation method, four yuan code finally output after translation.