Skip to content

It is an efficient bottom-up syntax analysis technique that can be used to parse large classes of context free grammar

Notifications You must be signed in to change notification settings

qn50/SLR-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SLR_Parser

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.

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

No packages published

Languages