Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged ll-parser
0
votes
2
answers
61
Compiler_design_LL(1)
Given answer is 3. I am getting Two entries.Check it once.
Given answer is 3. I am getting Two entries.Check it once.
saxena0612
470
views
saxena0612
asked
Sep 27, 2017
Compiler Design
ll-parser
test-series
+
–
8
votes
2
answers
62
Ace Test Series 2018: Compiler Design - Parsing
Consider the following context-free grammar S → SS + | SS*| a It is a)LL(1) b)LR(0) c)Both d)none
Consider the following context-free grammarS → SS + | SS*| aIt isa)LL(1)b)LR(0)c)Bothd)none
smelly indian
1.9k
views
smelly indian
asked
Sep 6, 2017
Compiler Design
theory-of-computation
ace-test-series
compiler-design
parsing
lr-parser
ll-parser
+
–
2
votes
2
answers
63
Please solve my doubt
Q if any Grammar is LL(1) definitely LALR(1) ? It is true or false Please ans explain in detail.
Q if any Grammar is LL(1) definitely LALR(1) ?It is true or falsePlease ans explain in detail.
kallu singh
702
views
kallu singh
asked
Sep 5, 2017
Compiler Design
compiler-design
parsing
ll-parser
lr-parser
true-false
+
–
8
votes
1
answer
64
LL(1) AND LALR(1)
As I know that LL(1) and LALR(1) grammars are incomperable ,but if a grammar is LL(1) then, it may be LALR(1) if the following conditions hold. 1.A ε-free LL(1) grammar is also a SLR(1) grammar and thus LALR(1) too. 2. A LL ... empty derivation may or may not be LALR(1). can anyone explain each point with example. and what is this "non-empty derivation/empty derivation"?
As I know that LL(1) and LALR(1) grammars are incomperable ,but if a grammar is LL(1) then, it may be LALR(1) if the following conditions hold.1.A ε-free LL(1) grammar i...
reena_kandari
2.5k
views
reena_kandari
asked
Aug 15, 2017
Compiler Design
ll-parser
parsing
compiler-design
+
–
7
votes
6
answers
65
LL(1) Grammar
Which of the following statements is true? Every LL(1) grammar is LALR(1). Every LL(1) grammar is CLR(1). AS I think 2nd is True and 1st is False if I am wrong please let me correct.
Which of the following statements is true?Every LL(1) grammar is LALR(1).Every LL(1) grammar is CLR(1). AS I think 2nd is True and 1st is False if I am wrong please let ...
learner_geek
11.7k
views
learner_geek
asked
Aug 5, 2017
Compiler Design
compiler-design
grammar
ll-parser
parsing
+
–
1
votes
1
answer
66
LL one
Given answer is yes but i think should not be LL(1)
Given answer is yes but i think should not be LL(1)
learner_geek
316
views
learner_geek
asked
Aug 5, 2017
Compiler Design
compiler-design
grammar
ll-parser
+
–
1
votes
1
answer
67
First and Follow
Example 3.3
Example 3.3
learner_geek
2.6k
views
learner_geek
asked
Aug 5, 2017
Compiler Design
compiler-design
parsing
first-and-follow
ll-parser
descriptive
ace-booklet
+
–
1
votes
1
answer
68
Compiler parser
is this given diagram correct or incorrect if incorrect then please correct it .
is this given diagram correct or incorrect if incorrect then please correct it .
learner_geek
345
views
learner_geek
asked
Aug 2, 2017
Compiler Design
compiler-design
parsing
lr-parser
ll-parser
descriptive
+
–
1
votes
1
answer
69
#testbook test series
shefali1
858
views
shefali1
asked
Jul 24, 2017
Compiler Design
compiler-design
parsing
ll-parser
lr-parser
left-recursion
ambiguous-grammar
testbook-test-series
+
–
1
votes
0
answers
70
LL grammar and DCFL
True or False , 1) Is every LL grammar have one to one correspondance with DCFL? Please explain with examples.
True or False ,1) Is every LL grammar have one to one correspondance with DCFL?Please explain with examples.
AnilGoudar
288
views
AnilGoudar
asked
Jul 17, 2017
Compiler Design
compiler-design
grammar
ll-parser
+
–
4
votes
2
answers
71
LL(1) Grammer
S -> (L) | a L -> L . S | S Question: Make necessary changes to make it suitable for LL(1) parsing and Construct FIRST and FOLLOW sets.
S - (L) | aL - L . S | SQuestion: Make necessary changes to make it suitable for LL(1) parsing and Construct FIRST and FOLLOW sets.
kyrierose
28.8k
views
kyrierose
asked
Jun 13, 2017
Compiler Design
compiler-design
grammar
ll-parser
parsing
+
–
0
votes
1
answer
72
LL(1) Grammar
The following grammar is LL(1) ? S -> aA/∈ A-> abS/∈ We know that, if a grammar has to be LL(1), there should be not be multiple entries for any column of any row. Alternatively we can check like, First(aA) and Follow(S)(This is for ∈ production ... = { a }, Follow(A) = { dollar Sign } . here also no common terminals. Is My understanding correct. Please correct me if iam wrong.
The following grammar is LL(1) ?S - aA/∈A- abS/∈We know that, if a grammar has to be LL(1), there should be not be multiple entries for any column of any row.Alternat...
AnilGoudar
1.2k
views
AnilGoudar
asked
May 3, 2017
Compiler Design
compiler-design
ll-parser
grammar
+
–
0
votes
2
answers
73
made easy test series
Vineeta Garg
431
views
Vineeta Garg
asked
Feb 5, 2017
Compiler Design
compiler-design
parsing
lr-parser
ll-parser
numerical-answers
made-easy-test-series
+
–
1
votes
2
answers
74
PARSING
ARE NUMBER OF SHIFT ENTRIES / ACTIONS IN PARSING TABLE OF SLR(1) AND LALR(1) SAME ALWAYS??
ARE NUMBER OF SHIFT ENTRIES / ACTIONS IN PARSING TABLE OF SLR(1) AND LALR(1) SAME ALWAYS??
sushmita
2.7k
views
sushmita
asked
Feb 3, 2017
Compiler Design
compiler-design
parsing
grammar
ll-parser
+
–
0
votes
1
answer
75
Construct LL(1) Parsing table for the following grammar
rahuldb
5.0k
views
rahuldb
asked
Jan 31, 2017
Compiler Design
compiler-design
parsing
grammar
ll-parser
theory-of-computation
test-series
+
–
0
votes
1
answer
76
MadeEasy Subject Test: Compiler Design - Parsing
First(P) = {+, *, t, epsilon, id} AND Follow(P) = {dollar,id} according to me. In that case M[P, DOLLAR] should have P -> QR
First(P) = {+, *, t, epsilon, id} AND Follow(P) = {dollar,id} according to me. In that case M[P, DOLLAR] should have P - QR
sidsunny
388
views
sidsunny
asked
Jan 26, 2017
Compiler Design
made-easy-test-series
compiler-design
parsing
ll-parser
+
–
1
votes
1
answer
77
COMPILERS DOUBT
IS EVERY LL(1) GRAMMAR LALR(1)?? I DONT KNOW WHETHER ITS TRUE OR NOT? CAN SOMEONE EXPLAIN??
IS EVERY LL(1) GRAMMAR LALR(1)?? I DONT KNOW WHETHER ITS TRUE OR NOT?CAN SOMEONE EXPLAIN??
sushmita
507
views
sushmita
asked
Jan 17, 2017
Compiler Design
compiler-design
parsing
ll-parser
lr-parser
+
–
13
votes
2
answers
78
LL(k) grammars
1. LL(k) grammars have one to one correspondance with DCFL's 2. LR(k) grammars have one to one correspondance with CFL's Which of them is True and explain it bit clearly?
1. LL(k) grammars have one to one correspondance with DCFL's2. LR(k) grammars have one to one correspondance with CFL'sWhich of them is True and explain it bit clearly?
Prajwal Bhat
5.3k
views
Prajwal Bhat
asked
Jan 15, 2017
Compiler Design
theory-of-computation
compiler-design
grammar
ll-parser
+
–
0
votes
2
answers
79
Testbook test
some one pls tell why it is wrong?
some one pls tell why it is wrong?
mohit chawla
412
views
mohit chawla
asked
Jan 10, 2017
Compiler Design
compiler-design
syntax-directed-translation
ll-parser
testbook-test-series
+
–
4
votes
1
answer
80
Draw the LL(1) parsing table of the given grammar ?
Consider a Grammar G as follows : $S\rightarrow W$ $W \rightarrow ZXY / XY$ $Y\rightarrow c/\epsilon$ $Z\rightarrow a/d$ $X\rightarrow Xb/\epsilon$ Draw the LL(1) parsing table for the given grammar ? NOTE :- The above grammar is NOT LL(1) .
Consider a Grammar G as follows :$S\rightarrow W$$W \rightarrow ZXY / XY$$Y\rightarrow c/\epsilon$$Z\rightarrow a/d$$X\rightarrow Xb/\epsilon$Draw the LL(1) parsing table...
Kapil
19.9k
views
Kapil
asked
Dec 27, 2016
Compiler Design
parsing
compiler-design
ll-parser
grammar
+
–
0
votes
1
answer
81
compiler grammar
Give a grammar which is LL(1) but not LALR(1) .
Give a grammar which is LL(1) but not LALR(1) .
papesh
501
views
papesh
asked
Dec 18, 2016
Compiler Design
compiler-design
parsing
ll-parser
lr-parser
descriptive
+
–
0
votes
1
answer
82
Is this grammar LL1, LR0, SLR1, LALR1, CLR1?
$S\rightarrow (x$ $\text{ }| E]$ $\text{ }| F)$ $X\rightarrow E)$ $\text{ }| F]$ $E\rightarrow A$ $F\rightarrow A$ $A\rightarrow \lambda$
$S\rightarrow (x$$\text{ }| E]$$\text{ }| F)$$X\rightarrow E)$$\text{ }| F]$$E\rightarrow A$$F\rightarrow A$$A\rightarrow \lambda$
GateAspirant999
609
views
GateAspirant999
asked
Dec 10, 2016
Compiler Design
compiler-design
parsing
ll-parser
lr-parser
descriptive
+
–
3
votes
1
answer
83
Test by Bikram | Compiler Design | Test 1 | Question: 24
Consider the following grammar: $E \rightarrow E + T \mid T$ $T \rightarrow T ^* F \mid F$ $F \rightarrow (E) \mid id$ ... $E \rightarrow TE' , \ \ T \rightarrow FT' , \ \ F \rightarrow (E) \mid id$
Consider the following grammar:$E \rightarrow E + T \mid T$$T \rightarrow T ^* F \mid F$$F \rightarrow (E) \mid id$What are the productions for E, T and F after convertin...
Bikram
483
views
Bikram
asked
Nov 25, 2016
Compiler Design
tbb-cd-1
compiler-design
parsing
ll-parser
grammar
+
–
13
votes
1
answer
84
complexityofparser
Consider the following statements:- S1 : for LL(1) parsing of n tokens ,time complexity in the best case is O(n) and worst case is O(n4) . S2 : for LR parsing of n tokens ,time complexity in the best case is O(n) and worst case is O(n3) . which of ... statements are true? a)Only S1 is correct. b)Only S2 is correct. c) Both S1 and S2 is correct. d)Neither S1 nor S2 is correct.
Consider the following statements:-S1 : for LL(1) parsing of n tokens ,time complexity in the best case is O(n) and worst case is O(n4) .S2 : for LR parsing of n tokens ,...
Amit puri
5.3k
views
Amit puri
asked
Nov 21, 2016
Compiler Design
compiler-design
parsing
ll-parser
lr-parser
+
–
0
votes
1
answer
85
Compiler Design
Consider a CFG contains ‘n’ tokens. What is the best case time complexity of LL(1) parsing n tokens?
Consider a CFG contains ‘n’ tokens. What is the best case time complexity of LL(1) parsing n tokens?
vaishali jhalani
417
views
vaishali jhalani
asked
Nov 21, 2016
Compiler Design
compiler-design
ll-parser
+
–
1
votes
1
answer
86
Compiler
thor
329
views
thor
asked
Nov 17, 2016
Compiler Design
compiler-design
grammar
parsing
lr-parser
ll-parser
ace-test-series
+
–
1
votes
2
answers
87
Compiler-LL(1)/LL(0)
KISHALAY DAS
4.2k
views
KISHALAY DAS
asked
Nov 12, 2016
Compiler Design
compiler-design
parsing
ll-parser
test-series
+
–
0
votes
1
answer
88
Compiler Parsing
KISHALAY DAS
676
views
KISHALAY DAS
asked
Nov 9, 2016
Compiler Design
compiler-design
parsing
ll-parser
ambiguous-grammar
lr-parser
test-series
+
–
1
votes
3
answers
89
Compiler Design
Consider the following grammar , and test whether the grammar is LL(1) or not. S → 1AB | ∈ A → 1AC | 0C B → OS C → 1
Consider the following grammar , and test whether the grammar is LL(1) or not.S → 1AB | ∈A → 1AC | 0CB → OSC → 1
LavTheRawkstar
11.5k
views
LavTheRawkstar
asked
Jun 27, 2016
Compiler Design
compiler-design
parsing
ll-parser
+
–
1
votes
2
answers
90
Gate Genral Questions
Consider the following Grammar : S` - > S# S - > ABC A - > a | bbD B - > a | ε C - > b | ε D - > c | ε (i) Construct first and Follow sets for the grammar. (ii)Design a LL(1) parsing using table for this grammar.Also parse 'bbcab' string using the parsing table.
Consider the following Grammar :S - S#S - ABCA - a | bbDB - a | εC - b | εD - c | ε (i) Construct first and Follow sets for the grammar.(ii)Design a...
LavTheRawkstar
8.9k
views
LavTheRawkstar
asked
Jun 25, 2016
Compiler Design
compiler-design
grammar
parsing
first-and-follow
ll-parser
+
–
Page:
« prev
1
2
3
4
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register