The Bottom-up parsing method is also called
2021
The Bottom-up parsing method is also called
- A.
Predictive parsing
- B.
Shift reduce parsing
- C.
Recursive descent parsing
- D.
None of the above
- E.
Question not attempted
Attempted by 108 students.
Show answer & explanation
Correct answer: B
Bottom-up parsing builds the parse tree from leaves to root by repeatedly shifting input symbols and reducing them to non-terminals.
⇒ Hence, it is called Shift-Reduce Parsing