Computer Science Fundamentals
Algorithms
Subjective
Feb 26, 2013
State error recovery in operator-Precedence Parsing.
Detailed Explanation
There are two points in the parsing process at which an operator-precedence parser can discover the syntactic erro:
- If no precedence relation holds between the terminal on top of the stack and the current input.
- If a handle has been found, but there is no production with this handle as a right side.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts