The Gateway to Computer Science Excellence
+1 vote
79 views

Consider the following grammar G:

The grammar G is

A. LL (1) grammar and not LR (0)

B. LL (1) and LR (0)

C. Not LL (1) but LR (0)

D. Neither LL (1) nor LR (0)

Here B should be correct option?

in Compiler Design by Boss (25.2k points)
edited by | 79 views
0
I think option A is correct.

because It SR conflict occurs in LR(0) parsing.

correct me if I am wrong.

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,666 questions
56,154 answers
193,759 comments
93,729 users