The Gateway to Computer Science Excellence
0 votes
106 views
Every LL(1) grammar  is ______
A.SLR(1)

B.LALR(1)

C.LR(1)

D.Both B & C
in Compiler Design by Junior (815 points) | 106 views

3 Answers

+1 vote
Option C LR (1)
by Active (2.3k points)
0
answer is D
+1

in some book  they said LL1 is also LALR

 But most of the book said LR1

please follow this link

https://gateoverflow.in/141911/ll-1-grammar

+1 vote
by (43 points)
0
Yes you are right...
0 votes

The correct answer should be C.

 

 

D can't be an option because there are some grammar which are LR(1) but not LALR(!)

by Junior (895 points)
edited by
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,645 questions
56,596 answers
195,824 comments
102,073 users