CC Manual - Shift Reduce Parser PDF
CC Manual - Shift Reduce Parser PDF
Theory:
A shift-reduce parser scans and parses the input text in one forward pass over the text,
without backing up. (That forward direction is generally left-to-right within a line, and top-to-
bottom for multi-line inputs.) The parser builds up the parse tree incrementally, bottom up,
and left to right, without guessing or backtracking. At every point in this pass, the parser has
accumulated a list of subtrees or phrases of the input text that have been already parsed.
Those subtrees are not yet joined together because the parser has not yet reached the right end
of the syntax pattern that will combine them.
Result:
Course Teacher
Sharayu N. Bonde