The SLR table of a grammar has a row per state of its LR(0) automaton. Its action part has a column per terminal and $: cell holds shift if the automaton moves from to on , reduce if is in and , and accept if and is in . Its goto part has a column per nonterminal, read from the automaton’s moves. A cell with a shift and a reduce is a shift–reduce conflict; a cell with two reduces is a reduce–reduce conflict. A grammar is SLR if its table has no conflict.
Computer Science · शब्दावली
SLR table, shift–reduce and reduce–reduce conflicts क्या है?
अन्य नाम: SLR table · shift--reduce conflict · reduce--reduce conflict