Explain linear, hierarchical, and semantic analysis with suitable example.
Answers
Answered by
2
■ The semantic analysis phase checks the source program for semantic errors and gathers type information for the subsequent code – generation phase. It uses the hierarchical structure determined by the syntax analysis phase to identify the operators and operands of expressions and statements.
Similar questions
Math,
6 months ago
Social Sciences,
6 months ago
Accountancy,
1 year ago
Math,
1 year ago
Accountancy,
1 year ago
Chemistry,
1 year ago