Which of the following is NOT the action performed by a shift – reduce parser?
2023
Which of the following is NOT the action performed by a shift – reduce parser?
Answer: C. Debase — The standard actions of a shift-reduce parser are shift, reduce, accept, and error. Debase is not a parser action.
- A.
Shift
- B.
Accept
- C.
Debase
- D.
Error
Attempted by 402 students.
Show answer & explanation
Correct answer: C
The standard actions of a shift-reduce parser are shift, reduce, accept, and error. Debase is not a parser action.
Loading lesson…