LR-attributed grammar (source code)

= LR-attributed grammar
{wiki=LR-attributed_grammar}

LR-attributed grammar is a type of context-free grammar that is used in the field of compiler design, particularly for syntax analysis (parsing). It combines the principles of LR parsing (a bottom-up parsing technique) with attributes that provide semantic information or actions associated with the grammar's production rules.