The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+1 vote
75 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 (24.9k points)
edited by | 75 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

0 votes
1 answer
7
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,376 questions
55,836 answers
192,558 comments
91,335 users