Last active
August 29, 2015 14:04
-
-
Save prdoyle/25a85a364e79c0c9dc76 to your computer and use it in GitHub Desktop.
A small grammar that is neither SLR nor NQLALR but is LALR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bermudez and Logothetis show a small grammar that is neither SLR nor NQLALR but is LALR. | |
S -> agd | |
S -> aAc | |
S -> bAd | |
S -> bgc | |
A -> B | |
B -> g | |
"Simple Computation of LALR(1) Lookahead Sets", p.237 Fig. 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment