An implementation that stores only states on the parsing stack is possible because
Answer: C
Correct answer: each state determines the grammar symbol that led into it
Every transition into a given state is on the same symbol, so the symbol is recoverable from the state and need not be stored separately. Implementations therefore push states alone, halving the stack, and reconstruct the symbols only when something - an error message, say - actually needs them.
Please log in or register to report this question.