The stack of a table driven predictive parser initially contains
Answer: A
Pushing the marker first and the start symbol above it lets the parser recognise successful completion when the marker surfaces at the same moment the input is exhausted. Using an explicit marker removes the need for a special case in the driver loop.
Please log in or register to report this question.