It is an efficient bottom-up syntax analysis technique that can be used to parse large classes of context free grammar SLR Parser : SLR is simple LR. It is the smallest class of grammar having few number of states. SLR is very easy to construct and is similar to LR parsing. The only difference between SLR parser and LR(0) parser is that in LR(0) parsing table, there’s a chance of ‘shift reduced’ conflict because we are entering ‘reduce’ corresponding to all terminal states. We can solve this problem by entering ‘reduce’ corresponding to FOLLOW of LHS of production in the terminating state. This is called SLR(1) collection of items.
-
Notifications
You must be signed in to change notification settings - Fork 0
qn50/SLR-Parser
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
It is an efficient bottom-up syntax analysis technique that can be used to parse large classes of context free grammar
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published