At every point during a successful shift reduce parse, the stack together with the remaining input forms
Answer: A
This invariant is what the whole method rests on. Each reduction moves backward one step along a rightmost derivation, so the concatenation of stack and input is always a right sentential form until the start symbol alone remains.
Please log in or register to report this question.