Question: What is the advantage of using an abstract syntax tree (AST) in intermediate code generation?
Options:
Correct Answer: It is easier to optimize than linear representations
Solution:
An abstract syntax tree (AST) provides a hierarchical representation of the program structure, making it easier to apply optimizations compared to linear representations.