Computer Science Fundamentals
Algorithms
Subjective
Feb 26, 2013
Define LR (0) items.
Detailed Explanation
An LR (0) item of a grammar G is a production of G with a dot at some position of the right side. Thus the production A → XYZ yields the following four items,
A → .XYZ
A → X.YZ
A → XY.Z
A → XYZ.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts