Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged ll-parser
0
votes
0
answers
31
Self doubt
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 that LR(0)<SLR(1)<LALR(1)<CLR(1), what is the meaning of this?
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)<...
Vegeta
603
views
Vegeta
asked
Sep 16, 2018
Compiler Design
compiler-design
parsing
ll-parser
+
–
1
votes
0
answers
32
Doubt
A LL(k) parser recognizes the languages generated by some ε-free LL(k) grammar. (From Wikiepedia) Why epsilon free LL(k) grammar?
A LL(k) parser recognizes the languages generated by some ε-free LL(k) grammar. (From Wikiepedia)Why epsilon free LL(k) grammar?
soumayan bandhu
107
views
soumayan bandhu
asked
Sep 16, 2018
Compiler Design
compiler-design
ll-parser
+
–
0
votes
2
answers
33
Compiler design
Deepalitrapti
307
views
Deepalitrapti
asked
Jul 19, 2018
Compiler Design
compiler-design
parsing
lr-parser
ambiguous
ll-parser
test-series
+
–
0
votes
2
answers
34
Tell me the answer plsss
S-> ABA A-> Bc|dA|€ B-> eA How many entries have multiple production in LL (1) table
S- ABAA- Bc|dA|€B- eA How many entries have multiple production in LL (1) table
Deepalitrapti
205
views
Deepalitrapti
asked
Jul 15, 2018
Compiler Design
compiler-design
parsing
ll-parser
+
–
1
votes
1
answer
35
LL(1)
Check whether the following grammar is $LL(1)$ or not? $S \rightarrow aAbA/Ba$ $B \rightarrow b/ \epsilon$ $A \rightarrow aBb/ \epsilon$
Check whether the following grammar is $LL(1)$ or not?$S \rightarrow aAbA/Ba$$B \rightarrow b/ \epsilon$$A \rightarrow aBb/ \epsilon$
saumya mishra
919
views
saumya mishra
asked
Jun 5, 2018
Compiler Design
compiler-design
ll-parser
+
–
0
votes
1
answer
36
Compiler design
$\ $ S->( L)|a L->L,S|S While parsing string ( a,((a,a),(a,a))) generated by the above grammar ,using predictive parsing table ,what is the maximum number of data item in stack at an instant________?
$\ $ 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 ...
Shivani gaikawad
1.6k
views
Shivani gaikawad
asked
May 31, 2018
Compiler Design
compiler-design
ll-parser
+
–
0
votes
1
answer
37
Compiler design
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|Null$
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...
Prince Sindhiya
421
views
Prince Sindhiya
asked
May 24, 2018
Compiler Design
compiler-design
ll-parser
test-series
+
–
0
votes
2
answers
38
compiler design
Prince Sindhiya
371
views
Prince Sindhiya
asked
May 23, 2018
Compiler Design
compiler-design
parsing
ll-parser
true-false
+
–
0
votes
2
answers
39
SELF DOUBT
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).
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).
eyeamgj
306
views
eyeamgj
asked
May 16, 2018
Compiler Design
compiler-design
parsing
lr-parser
ll-parser
+
–
0
votes
0
answers
40
compiler
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?
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?
smsubham
513
views
smsubham
asked
Apr 4, 2018
Compiler Design
compiler-design
parsing
ll-parser
+
–
1
votes
1
answer
41
LL(n)
LL(1) parser cannot accept nondeterministic grammar at we have only single lookahead and there can be no predictable parsing in this case. Suppose we have LL(n) and we are given that maximum length of non-determinism in a production is n - 1. Can we use this grammar for LL(n) predictive parsing?
LL(1) parser cannot accept nondeterministic grammar at we have only single lookahead and there can be no predictable parsing in this case. Suppose we have LL(n) and we a...
smsubham
1.0k
views
smsubham
asked
Apr 4, 2018
Compiler Design
compiler-design
ll-parser
parsing
lr-parser
grammar
+
–
0
votes
1
answer
42
Check if grammar is LL(1) ?
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 drawing parsing table ?
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...
Rahul Ranjan 1
5.0k
views
Rahul Ranjan 1
asked
Mar 19, 2018
Compiler Design
compiler-design
grammar
parsing
ll-parser
left-recursion
+
–
0
votes
1
answer
43
self doubt
Can we have a grammar $G$ which is $LL(1)$ but not $SLR(1)$ ,If so given example grammar
Can we have a grammar $G$ which is $LL(1)$ but not $SLR(1)$ ,If so given example grammar
shivanisrivarshini
577
views
shivanisrivarshini
asked
Mar 10, 2018
Compiler Design
compiler-design
parsing
ll-parser
lr-parser
descriptive
+
–
1
votes
0
answers
44
CD self doubt : Number of SR conflicts incase of more than one reduce move.
For this question here https://gateoverflow.in/42952/number-of-conflict I want to find the number of SR and RR conflicts in case of LR(0) items. My confusion is, for state I3, there are 2 reduce moves, and one shift ... or should it be counted as 2 separate SR conflicts in which case there will be 4 SR conflicts and 1 RR.
For this question here https://gateoverflow.in/42952/number-of-conflict I want to find the number of SR and RR conflicts in case of LR(0) items. My confusion is, for stat...
Queenia Agrawal
923
views
Queenia Agrawal
asked
Jan 29, 2018
Compiler Design
compiler-design
ll-parser
+
–
0
votes
0
answers
45
made easy test series
Consider the following grammar G: S->AB|d A->aA|b B->bB|c 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) /*correct answer*/ D Neither LL (1) nor LR (0)
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...
rohit vishkarma
306
views
rohit vishkarma
asked
Jan 29, 2018
Compiler Design
ll-parser
lr-parser
+
–
2
votes
1
answer
46
LL(1)
Which of the following is LL(1) conflict? a)FIRST/FIRST conflict b)FIRST/FOLLOW conflict c) both d)none
Which of the following is LL(1) conflict?a)FIRST/FIRST conflictb)FIRST/FOLLOW conflictc) bothd)none
srestha
2.6k
views
srestha
asked
Jan 17, 2018
Compiler Design
compiler-design
ll-parser
+
–
4
votes
1
answer
47
LL(k) Grammar
Consider the grammar with the following productions. S→aaB/aaC B→b C→c Which of the following option is true ? (A) The grammar is LL(3) (B) The grammar is LL(1) (C) The grammar is LL(2) (D) It can’t be LL(k) grammar for any k, as it contains left factoring.
Consider the grammar with the following productions.S→aaB/aaCB→bC→cWhich of the following option is true ?(A) The grammar is LL(3)(B) The grammar is LL(1)(C) The gr...
ankitgupta.1729
6.9k
views
ankitgupta.1729
asked
Dec 31, 2017
Compiler Design
compiler-design
grammar
ll-parser
parsing
+
–
0
votes
0
answers
48
#doubt
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??
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??
abhijeet pandey
434
views
abhijeet pandey
asked
Dec 26, 2017
Compiler Design
compiler-design
lr-parser
ll-parser
+
–
0
votes
1
answer
49
Compiler design test series problem
Abhishek Kumar Singh
362
views
Abhishek Kumar Singh
asked
Dec 23, 2017
Compiler Design
compiler-design
parsing
ll-parser
lr-parser
testbook-test-series
+
–
0
votes
0
answers
50
#LL(k)
How to determine whether a grammar is LL(K) or LR(0) or SLR(1)?
How to determine whether a grammar is LL(K) or LR(0) or SLR(1)?
Borhan
456
views
Borhan
asked
Dec 12, 2017
Compiler Design
ll-parser
+
–
0
votes
1
answer
51
LL(1)
Shivam Chauhan
2.3k
views
Shivam Chauhan
asked
Dec 9, 2017
Compiler Design
compiler-design
ll-parser
ace-test-series
+
–
0
votes
3
answers
52
Type of grammar
Why isn't it LL(1) ?
Why isn't it LL(1) ?
Parshu gate
1.6k
views
Parshu gate
asked
Dec 5, 2017
Compiler Design
parsing
compiler-design
grammar
ll-parser
lr-parser
ace-test-series
+
–
0
votes
1
answer
53
ace test series
Aditya Bahuguna
242
views
Aditya Bahuguna
asked
Dec 4, 2017
Compiler Design
compiler-design
parsing
ll-parser
descriptive
ace-test-series
+
–
0
votes
0
answers
54
LL(1)
Shivam Chauhan
365
views
Shivam Chauhan
asked
Nov 30, 2017
Compiler Design
compiler-design
ll-parser
+
–
0
votes
2
answers
55
Parsing
I think that the given grammar is LL(1) . please explain me if I'm wrong.
I think that the given grammar is LL(1) . please explain me if I'm wrong.
atul_21
643
views
atul_21
asked
Nov 28, 2017
Compiler Design
compiler-design
parsing
lr-parser
ll-parser
ace-test-series
+
–
0
votes
0
answers
56
self doubt
Let us say + and * are both left and right associative then how is expression evaluated in top down parse? E- E*E / E+E / num Does it follow left most derivation?
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?
iarnav
474
views
iarnav
asked
Nov 21, 2017
Compiler Design
compiler-design
parsing
ll-parser
+
–
2
votes
1
answer
57
parser
every LL(k) grammer is also SLR(k) grammer. (true / false)
every LL(k) grammer is also SLR(k) grammer. (true / false)
arch
303
views
arch
asked
Nov 19, 2017
Compiler Design
compiler-design
parsing
ll-parser
lr-parser
true-false
+
–
8
votes
3
answers
58
Finding type of Grammar LL(1), OR LR(0) , OR CLR(1) OR LALR(1)
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) OR LALR(1)
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...
Parshu gate
15.5k
views
Parshu gate
asked
Nov 13, 2017
Compiler Design
parsing
compiler-design
lr-parser
ll-parser
grammar
+
–
0
votes
0
answers
59
Compiler : LL(k) and LR(k) grammer
Can LL(k) and LR(k) gammer has null and unit productions?
Can LL(k) and LR(k) gammer has null and unit productions?
rahul sharma 5
1.1k
views
rahul sharma 5
asked
Nov 12, 2017
Compiler Design
compiler-design
grammar
ll-parser
lr-parser
+
–
3
votes
1
answer
60
LL Grammar: how does look ahead affect left recursion and left factoring
lets consider a grammar as: $A\rightarrow Ab | Ac | a$ while checking whether it belongs to LL(1) grammar, we would point out that it has a left recursion as well as left factoring. I was wondering that what ... symbol, A to decide the production rule to be applied. any further insights about the same will be very helpful.
lets consider a grammar as:$A\rightarrow Ab | Ac | a$while checking whether it belongs to LL(1) grammar, we would point out that it has a left recursion as well as left f...
AskHerOut
1.6k
views
AskHerOut
asked
Oct 1, 2017
Compiler Design
compiler-design
parsing
grammar
ll-parser
+
–
Page:
« prev
1
2
3
4
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register