Recent questions tagged ll-parser

0 votes
0 answers
31
What is relation between CGF, Regular grammar, CSG, LL(1), LL(k), LR(0), SLR(1), LALR(1), CLR(1).What is the meaning of expressive power? I know thatLR(0)<SLR(1)<LALR(1)<...
1 votes
0 answers
32
A LL(k) parser recognizes the languages generated by some ε-free LL(k) grammar. (From Wikiepedia)Why epsilon free LL(k) grammar?
0 votes
2 answers
34
S- ABAA- Bc|dA|€B- eA How many entries have multiple production in LL (1) table
1 votes
1 answer
35
Check whether the following grammar is $LL(1)$ or not?$S \rightarrow aAbA/Ba$$B \rightarrow b/ \epsilon$$A \rightarrow aBb/ \epsilon$
0 votes
1 answer
36
$\ $ S->( L)|a L->L,S|SWhile parsing string ( a,((a,a),(a,a))) generated by the above grammar ,using predictive parsing table ,what is the maximum number of data item ...
0 votes
1 answer
37
In this why questions why the left recursion is not removed as it is necessary for $LL1 $Why they given the option without removing the left recursion$S->Aa|b$$A->Ac|Sd|N...
0 votes
2 answers
39
it is confirmed that every LL(1) is LR(1) i.e CLR(1),but i want to know that is every LL(1) grammar is also LALR????? becz LALR is subset of CLR(1).
0 votes
0 answers
40
If we increase the number of lookahead in LL, LR, SLR,LALR, CLR grammar will its expressive power increase and what is the reason for that?
0 votes
1 answer
42
Given a grammar :$E \rightarrow E + T / T$$T \rightarrow i$Can I directly say that grammar is not $LL(1)$ because $LL(1)$ can't parse Left Recursive Grammar, without dra...
0 votes
1 answer
43
0 votes
0 answers
45
Consider the following grammar G:S->AB|dA->aA|bB->bB|c The grammar G isA LL (1) grammar and not LR (0)B LL (1) and LR (0)C Not LL (1) but LR (0) /*correct answer*/D Neith...
2 votes
1 answer
46
Which of the following is LL(1) conflict?a)FIRST/FIRST conflictb)FIRST/FOLLOW conflictc) bothd)none
0 votes
0 answers
48
Statement 1 : For every DCFL there exits a LR(0) or a LR(1) grammer.Statement 2 : For every DCFL there exits a LR(1) grammer.Which is true??
0 votes
0 answers
50
How to determine whether a grammar is LL(K) or LR(0) or SLR(1)?
0 votes
1 answer
51
0 votes
0 answers
54
0 votes
2 answers
55
I think that the given grammar is LL(1) . please explain me if I'm wrong.
0 votes
0 answers
56
Let us say + and * are both left and right associative then how is expression evaluated in top down parse?E- E*E/ E+E/ numDoes it follow left most derivation?
2 votes
1 answer
57
every LL(k) grammer is also SLR(k) grammer. (true / false)
8 votes
3 answers
58
Suppose we are given a grammar and asked to find the type of that grammar , what is the algorithm which needs to be followed for each of them? LL(1), OR LR(0) , OR CLR(1...
0 votes
0 answers
59