Logo

Еще интересное

The input of the semantic analyzer is the AST (asbtract syntax tree). My question is: the output of the semantic analyzer is the same AST decorated, or should be a new tree? What is the name of this tree? To create this new tree, Can I use visitor pattern? In the example below, a new node was created within the AST (inttofloat). Semantic Analysis Syntax Directed Translation L Attributed example part 2 - Продолжительность: 8:17...