Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
LR parser
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Items === <!-- This section is linked from [[LALR parser]] --> The construction of these parsing tables is based on the notion of ''LR(0) items'' (simply called ''items'' here) which are grammar rules with a special dot added somewhere in the right-hand side. For example, the rule E β E + B has the following four corresponding items: : E β <big>{{color|#f7f|β’}}</big> E + B : E β E <big>{{color|#f7f|β’}}</big> + B : E β E + <big>{{color|#f7f|β’}}</big> B : E β E + B <big>{{color|#f7f|β’}}</big> Rules of the form ''A'' β Ξ΅ have only a single item ''A'' β <big>{{color|#f7f|β’}}</big>. The item E β E <big>{{color|#f7f|β’}}</big> + B, for example, indicates that the parser has recognized a string corresponding with E on the input stream and now expects to read a '+' followed by another string corresponding with B.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)