Source: wikibot/slr-grammar
= SLR grammar
{wiki=SLR_grammar}
SLR grammar refers to a specific type of context-free grammar that is used in the SLR(1) parsing technique, a bottom-up parsing method used in compiler design. SLR stands for "Simple LR," and "1" indicates that the parser looks ahead one token in the input stream. \#\#\# Key Components of SLR Grammar: 1. **Context-Free Grammar (CFG):** SLR grammars are a subset of context-free grammars.