Computer Science, asked by Tushargambhir, 3 months ago

in what way canonical lr parser resolve issues of slr parsing​

Answers

Answered by siyagada2
0

Answer:

The only difference between LR(0) and SLR(1) is this extra ability to help decide what action to take when there are conflicts. Because of this, any grammar that can be parsed by an LR(0) parser can be parsed by an SLR(1) parser. However, SLR(1) parsers can parse a larger number of grammars than LR(0)

Similar questions