The Gateway to Computer Science Excellence
0 votes
136 views
If grammar is LL(1) then which of the following is always true?

A. It is LALR

B. It is LR (1)

C. Both A and B

Please give answer with necessary explanations as there are different answers in different sites.
in Compiler Design by (177 points) | 136 views
+1

Follow this 

0
Thanks

1 Answer

+1 vote
Best answer
If a grammar is LL(1), then grammar is LALR(1).

If a grammar is LALR(1) then LL(1).

Option C.
by Active (1.7k points)
selected by

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,737 questions
57,275 answers
198,154 comments
104,822 users