Introduction - If you have any usage issues, please Google them yourself
Sixth chapter of attribute grammar
The task is to analyze all kinds of grammatical categories identified by grammatical analysis, analyze its meaning, and carry out a preliminary translation.
It includes two aspects of work.
The first is to carry out static semantic checks on various grammatical categories, for example, whether variables are defined, type is correct, and so on.
If the semantics are correct, the translation of the intermediate code is performed.