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?
- A.
Shift
- B.
Accept
- C.
Debase
- D.
Error
Attempted by 64 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.