Question: What is the purpose of semantic rules in syntax-directed translation?
Options:
Correct Answer: To specify the actions to be taken during parsing
Solution:
Semantic rules specify the actions to be taken during parsing in syntax-directed translation.