Compiler Design and Construction208110 marksNumerical: quadruples and triplesIntermediate Code Generator
What are the significances of intermediate code? Differentiate between DAG and Syntax tree. Represent the instruction A = B + C - D * E + G using quadruple and triple.
What are the significances of intermediate code? Differentiate between DAG and Syntax tree. Represent the instruction A = B + C - D * E + G using quadruple and triple.[10]
- Task 1: Significances of intermediate code (conceptual) - Task 2: Differentiate DAG vs Syntax tree (conceptual) - Task 3: Expression to represent using quadruple and triple: $$A = B + C - D E + G$$ Operator precedence assumption: binds tighter than +/-; + and - are left-associative and equal pr...