Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Slides
Recent questions tagged parsing
0
votes
0
answers
211
#selfdoubt #SLR & LALR
Can LALR have more reduce entries than SLR ? As per my understanding, the lookaheads used in LALR are subsets of Follow sets in SLR, so reduce entries in LALR can be less than or equal to those in SLR. Is it correct?, please verify.
Can LALR have more reduce entries than SLR ?As per my understanding, the lookaheads used in LALR are subsets of Follow sets in SLR, so reduce entries in LALR can be less ...
meghna
287
views
meghna
asked
Sep 19, 2018
Compiler Design
compiler-design
parsing
+
–
0
votes
0
answers
212
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
+
–
0
votes
2
answers
213
FIRST Set
S->Aa A->BD B->b | ɛ D->d | ɛ what is FIRST(S)?
S->AaA->BDB->b | ɛD->d | ɛwhat is FIRST(S)?
aditi19
477
views
aditi19
asked
Sep 14, 2018
Compiler Design
compiler-design
grammar
parsing
first-and-follow
+
–
0
votes
1
answer
214
LR(k) grammar doubt
Do every LR(1) grammar have DPDA?
Do every LR(1) grammar have DPDA?
aditi19
286
views
aditi19
asked
Sep 11, 2018
Compiler Design
compiler-design
parsing
lr-parser
+
–
0
votes
1
answer
215
Parsing
For a grammar to be LR(k), it should have a PDA? Like a DPDA or just PDA in general?
For a grammar to be LR(k), it should have a PDA? Like a DPDA or just PDA in general?
Mizuki
467
views
Mizuki
asked
Aug 31, 2018
Compiler Design
compiler-design
parsing
context-free-language
pushdown-automata
theory-of-computation
+
–
0
votes
1
answer
216
Parser
Bottom up parser uses right hand derivation or left hand derivation????
Bottom up parser uses right hand derivation or left hand derivation????
Deepalitrapti
373
views
Deepalitrapti
asked
Aug 24, 2018
Compiler Design
compiler-design
parsing
+
–
4
votes
0
answers
217
MadeEasy Test Series: Compiler Design - Parsing
Consider the following grammar which is not LL(1) because LL(1) table contain multiple entry for same production. The number of entries have multiple productions in LL(1) table are ________.
Consider the following grammar which is not LL(1) because LL(1) table contain multiple entry for same production.The number of entries have multiple productions in LL(1) ...
Mizuki
2.6k
views
Mizuki
asked
Aug 19, 2018
Compiler Design
compiler-design
parsing
made-easy-test-series
+
–
0
votes
1
answer
218
parser
Consider a Context Free Grammar G I - if G is not Suitable for Top Down Parser then it is also not suitable for LR parsers Family. II - if G is not Suitable for Top Down Parser then it may work for Operator Precedence parsers. III- .if G is suitable for LR parsers ... it will surely work for Top Down Parser a) I and II correct b) II and III correct. c) only II correct d) all are correct
Consider a Context Free Grammar GI - if G is not Suitable for Top Down Parser then it is also not suitable for LR parsers Family.II - if G is not Suitable for Top Dow...
Lone Wolf
266
views
Lone Wolf
asked
Aug 12, 2018
Compiler Design
compiler-design
context-free-grammar
parsing
lr-parser
+
–
0
votes
2
answers
219
Compiler design
Deepalitrapti
306
views
Deepalitrapti
asked
Jul 19, 2018
Compiler Design
compiler-design
parsing
lr-parser
ambiguous
ll-parser
test-series
+
–
0
votes
2
answers
220
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
+
–
0
votes
2
answers
221
UGC NET CSE | July 2018 | Part 2 | Question: 39
A bottom-up parser generates: Left-most derivation in reverse Right-most derivation in reverse Left-most derivation Right-most derivation
A bottom-up parser generates:Left-most derivation in reverseRight-most derivation in reverseLeft-most derivationRight-most derivation
Pooja Khatri
1.0k
views
Pooja Khatri
asked
Jul 13, 2018
Compiler Design
ugcnetcse-july2018-paper2
compiler-design
parsing
+
–
0
votes
1
answer
222
Bottom Up parsers
Does bottom up parsers give postfix expression?
Does bottom up parsers give postfix expression?
aditi19
371
views
aditi19
asked
Jul 6, 2018
Compiler Design
compiler-design
parsing
+
–
0
votes
0
answers
223
Principles of Compiler Design 6.2
$E \rightarrow E + T \hspace{5px} | \hspace{5px} T$ $T \rightarrow TF \hspace{5px} | \hspace{5px} F $ $F \rightarrow F^{*} \hspace{5px} | \hspace{5px} (E) \hspace{5px} | \hspace{5px} a \hspace{5px} | \hspace{5px} b \hspace{5px} | \hspace{5px} \epsilon $ Construct the LALR sets of items and the parse table for the above grammar.
$E \rightarrow E + T \hspace{5px} | \hspace{5px} T$$T \rightarrow TF \hspace{5px} | \hspace{5px} F $$F \rightarrow F^{*} \hspace{5px} | \hspace{5px} (E) \hspace{5px} | \...
Mk Utkarsh
538
views
Mk Utkarsh
asked
Jun 29, 2018
Compiler Design
compiler-design
parsing
lr-parser
+
–
1
votes
1
answer
224
SR conflict in LALR(1)
$A→ b.a , \left \{ b \right \}$ $B→ b.,\left \{ a \right \}$ It is a SR conflict in LALR(1). Now how reduce state operated on $a$ for non terminal $B$(and not $b$) ?
$A→ b.a , \left \{ b \right \}$ $B→ b.,\left \{ a \right \}$It is a SR conflict in LALR(1). Now how reduce state operated on $a$ for non terminal $B$(and not $b$) ?...
srestha
1.4k
views
srestha
asked
Jun 17, 2018
Compiler Design
parsing
compiler-design
+
–
1
votes
1
answer
225
"A bottom up parser tries to find the right most deviation of the given input in the reverse order
"A bottom up parser tries to find the right most deviation of the given input in the reverse order " what does this line mean Please Explain
"A bottom up parser tries to find the right most deviation of the given input in the reverse order " what does this line mean Please Explain
Pawan Kumar 7
4.4k
views
Pawan Kumar 7
asked
Jun 16, 2018
Compiler Design
compiler-design
parsing
+
–
0
votes
0
answers
226
Question Related to Parser in Compiler Design
(Note:- It is not a question just a doubt related to parsers topic) Ques:- Can CLR(1) parser may contain SR and RR conflicts? (Actually, According to me it can have both RR and SR conflict but in some websites, it shows it can' ... out). My Explanation:- Suppose in one of transition state the transition is as:- Can you please tell me if I am wrong.
(Note:- It is not a question just a doubt related to parsers topic)Ques:- Can CLR(1) parser may contain SR and RR conflicts?(Actually, According to me it can have both RR...
kislaya Pant
699
views
kislaya Pant
asked
Jun 14, 2018
Compiler Design
compiler-design
parsing
+
–
0
votes
0
answers
227
MadeEasy Test Series: Compiler Design - Parsing
Let G be a grammar with the following productions: If LR(1) parser is used to construct the DFA using the above productions, then how many look-a-heads are present for an item T → .T * F in the initial state ________.
Let G be a grammar with the following productions:If LR(1) parser is used to construct the DFA using the above productions, then how many look-a-heads are present for an ...
syncronizing
412
views
syncronizing
asked
Jun 12, 2018
Compiler Design
made-easy-test-series
compiler-design
parsing
+
–
0
votes
1
answer
228
Parse tree
How to make a parse tree for the expression $a+b*c/b*c*f?$
How to make a parse tree for the expression$a+b*c/b*c*f?$
saumya mishra
223
views
saumya mishra
asked
Jun 11, 2018
Compiler Design
compiler-design
parsing
+
–
0
votes
1
answer
229
Follow
Compute follow of the following grammar? $E \rightarrow TE'$ $E' \rightarrow +TE'/\epsilon$ $T \rightarrow FT'$ $T' \rightarrow ^*FT'/\epsilon$ $F \rightarrow (E)/id$
Compute follow of the following grammar?$E \rightarrow TE'$$E' \rightarrow +TE'/\epsilon$$T \rightarrow FT'$$T' \rightarrow ^*FT'/\epsilon$$F \rightarrow (E)/id$
saumya mishra
226
views
saumya mishra
asked
Jun 5, 2018
Compiler Design
compiler-design
parsing
first-and-follow
+
–
0
votes
1
answer
230
Parse tree
Consider the following grammar $S \rightarrow SS/Sa/aS/a$ Construct Parse Tree for $w=aaaa$ as many as possible? How many parse trees are possible?
Consider the following grammar$S \rightarrow SS/Sa/aS/a$Construct Parse Tree for $w=aaaa$ as many as possible? How many parse trees are possible?
saumya mishra
787
views
saumya mishra
asked
Jun 5, 2018
Compiler Design
compiler-design
parsing
+
–
0
votes
1
answer
231
compiler design
Shivani gaikawad
219
views
Shivani gaikawad
asked
Jun 3, 2018
Compiler Design
compiler-design
parsing
lr-parser
numerical-answers
test-series
+
–
0
votes
1
answer
232
First and follow
Find first and follow of the given grammar? S->AB A->BS/a/€ B->AS/b
Find first and follow of the given grammar?S->ABA->BS/a/€B->AS/b
saumya mishra
3.3k
views
saumya mishra
asked
Jun 3, 2018
Compiler Design
compiler-design
grammar
parsing
first-and-follow
+
–
1
votes
1
answer
233
Compiler design
Prince Sindhiya
640
views
Prince Sindhiya
asked
Jun 1, 2018
Compiler Design
compiler-design
parsing
test-series
+
–
0
votes
2
answers
234
Compiler design
Prince Sindhiya
353
views
Prince Sindhiya
asked
Jun 1, 2018
Compiler Design
compiler-design
parsing
test-series
+
–
0
votes
1
answer
235
compiler design
Shivani gaikawad
176
views
Shivani gaikawad
asked
May 31, 2018
Compiler Design
compiler-design
grammar
parsing
lr-parser
test-series
+
–
2
votes
1
answer
236
compiler
Prince Sindhiya
224
views
Prince Sindhiya
asked
May 31, 2018
Compiler Design
compiler-design
grammar
parsing
lr-parser
test-series
+
–
0
votes
1
answer
237
compiler design
Prince Sindhiya
372
views
Prince Sindhiya
asked
May 31, 2018
Compiler Design
compiler-design
parsing
context-free-grammar
numerical-answers
test-series
+
–
0
votes
1
answer
238
compiler design
Prince Sindhiya
278
views
Prince Sindhiya
asked
May 31, 2018
Compiler Design
compiler-design
grammar
parsing
lr-parser
test-series
+
–
1
votes
5
answers
239
Compiler Design: Parsing
Prince Sindhiya
795
views
Prince Sindhiya
asked
May 31, 2018
Compiler Design
compiler-design
parsing
test-series
+
–
2
votes
3
answers
240
Ambiguous and unambiguous grammar
If a grammar( $CFG$ ) has more than one Right most derivation, Can it be called ambiguous ? Or we say a grammar is ambiguous only when it has more than one left most derivation ?
If a grammar( $CFG$ ) has more than one Right most derivation, Can it be called ambiguous ?Or we say a grammar is ambiguous only when it has more than one left most deriv...
Rahul Ranjan 1
1.4k
views
Rahul Ranjan 1
asked
May 28, 2018
Compiler Design
compiler-design
parsing
ambiguous-grammar
+
–
Page:
« prev
1
...
3
4
5
6
7
8
9
10
11
12
13
...
23
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register