Ask Question

What are attribute grammars used for?

+2
Answers (1)
  1. 9 August, 11:38
    0
    Attribute Grammars were invented by Don Knuth as a way to unify all of the stages of compiling into one. An attribute grammar links syntax with semantics and have values that hold semantic information about the (non) terminal.

    They can perform several functions in specifying the syntax and semantics of a programming language, they can specify the context-sensitive aspects of the syntax of a language and operational semantics of a programming language.

    I hope you find this information useful and interesting! Good luck!
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What are attribute grammars used for? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers