12. What is the primary use of attribute grammars?
* An attribute grammar is a device used to describe more of the structure of a programming language than is possible with a context-free grammar. The primary purpose of an attribute grammar is it allows certain language rules to be described, such as type of compatibility.