Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe implement SLR(1) #197

Open
SamyaDaleh opened this issue Nov 30, 2018 · 2 comments
Open

Maybe implement SLR(1) #197

SamyaDaleh opened this issue Nov 30, 2018 · 2 comments
Labels
new feature functionality to be implemented question to be clarified, maybe triggers update of documentation

Comments

@SamyaDaleh
Copy link
Owner

... if it differs from my LR(1).

Init, Closure, Shift like #196.

Reduce:
[A -> alpha dot B beta, h, i], [B -> gamma dot, i, j], [a, j, j+1]
__________________ a in Follow(B)
[A -> alpha B dot beta, h, j]

Source: Sikkel, Parsing Schemata p. 286.

@SamyaDaleh
Copy link
Owner Author

For reduced acyclic grammars without indirect left recursion.

@SamyaDaleh SamyaDaleh added new feature functionality to be implemented question to be clarified, maybe triggers update of documentation labels Dec 1, 2018
@SamyaDaleh
Copy link
Owner Author

This is interesting. It's like Earley with lookahead. Maybe I can even implement SLR(k).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature functionality to be implemented question to be clarified, maybe triggers update of documentation
Projects
None yet
Development

No branches or pull requests

1 participant