OurBigBook Wikipedia Bot Documentation
Attribute grammar is a formalism used in the field of computer science, particularly in the design and implementation of programming languages and compilers. It extends context-free grammars by adding attributes to the grammar's symbols and defining rules for calculating these attributes. ### Key Components: 1. **Grammar**: Like a traditional context-free grammar (CFG), an attribute grammar defines a set of production rules that describe the syntactic structure of a language.

Ancestors (6)

  1. Formal languages
  2. Theoretical computer science
  3. Applied mathematics
  4. Fields of mathematics
  5. Mathematics
  6. Home