Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Slides
Recent questions tagged parsing
0
votes
1
answer
31
Made Easy Test Series
Can anyone draw the transition diagram for this augmented grammar in LR(1) parser? $S’\rightarrow S$ $S\rightarrow A|B$ $A\rightarrow fAi|n$ $B\rightarrow fBii|d$ for the above augmented grammar the number of states in LR(1) parser are________.
Can anyone draw the transition diagram for this augmented grammar in LR(1) parser?$S’\rightarrow S$$S\rightarrow A|B$$A\rightarrow fAi|n$$B\rightarrow fBii|d$for the ab...
Rohit Chakraborty
389
views
Rohit Chakraborty
asked
Oct 6, 2023
Compiler Design
compiler-design
made-easy-test-series
parsing
numerical-answers
+
–
0
votes
0
answers
32
compiler design
how many handles detected by bottom up parser for string a+a*a? grammar is E->E+T|T T->T*F|F F->a please draw the whole procedure and explain how bottom up parser does right most derivation in reverse in this question
how many handles detected by bottom up parser for string a+a*a?grammar isE->E+T|TT->T*F|FF->aplease draw the whole procedure and explain how bottom up parser does right m...
24aaaa23
139
views
24aaaa23
asked
Sep 30, 2023
Compiler Design
compiler-design
parsing
+
–
0
votes
1
answer
33
made easy gate cs 23 test series
Given a grammar: there is a right most derivation S1 → Sc → SAc → SaSbc. Thus, SaSbc is a right sentential form, and its handle is __
Given a grammar:there is a right most derivation S1 → Sc → SAc → SaSbc.Thus, SaSbc is a right sentential form, and its handle is __
kaustubh7
296
views
kaustubh7
asked
Aug 29, 2023
Compiler Design
compiler-design
parsing
+
–
0
votes
0
answers
34
made easy gate 23 test series
Consider the following grammar: 1. S → CC 2. C → cC 3. C → d The number error entries in canonical parsing table for grammar is __.
Consider the following grammar:1. S → CC2. C → cC3. C → dThe number error entries in canonical parsing table for grammar is __.
kaustubh7
349
views
kaustubh7
asked
Aug 29, 2023
Compiler Design
compiler-design
parsing
+
–
1
votes
0
answers
35
made easy gate 23 test series
The following grammer is: LALR(1) but not LR(1) LR(1) but not LALR(1) LALR(1) but not SLR(1) Neither LALR(1) nor LR(1)
The following grammer is:LALR(1) but not LR(1)LR(1) but not LALR(1)LALR(1) but not SLR(1)Neither LALR(1) nor LR(1)
kaustubh7
161
views
kaustubh7
asked
Aug 29, 2023
Compiler Design
compiler-design
parsing
+
–
0
votes
0
answers
36
Bottom-Up-Parser
Answer the Question with Proper Explanation…. S → Aa / bAc / dc / bda A → ε The Above Grammar is – Neither LR(0) nor SLR(1). LR(0) but not SLR(1). SLR(1) but not LR(0). Both LR(0) & SLR(1).
Answer the Question with Proper Explanation….S → Aa / bAc / dc / bdaA → ε The Above Grammar is –Neither LR(0) nor SLR(1).LR(0) but not SLR(1).SLR(1) but not LR(0...
Riddhankur Sarkar
185
views
Riddhankur Sarkar
asked
Aug 27, 2023
Compiler Design
parsing
+
–
0
votes
1
answer
37
UGC NET CSE | June 2023 | Part 2: 27
Which of the following parser is most powerful parser? Operator precedence $\text{SLR}$ Canonical $\text{LR}$ $\text{LALR}$
Which of the following parser is most powerful parser?Operator precedence$\text{SLR}$Canonical $\text{LR}$$\text{LALR}$
admin
547
views
admin
asked
Jul 28, 2023
Compiler Design
ugcnetcse-june2023-paper2
compiler-design
parsing
+
–
0
votes
2
answers
38
LR Bottom up parsing table.
dhruba
332
views
dhruba
asked
Jun 5, 2023
Compiler Design
compiler-design
parsing
+
–
0
votes
1
answer
39
Why option (b) is not correct
kishan kushavaha
370
views
kishan kushavaha
asked
Apr 21, 2023
Compiler Design
gatecse-2005
parsing
+
–
0
votes
1
answer
40
Made Easy Textbook Problem | Compiler Design | CLR(1) | Look-a-heads
Let G be any grammar with the following productions: X → X+Y | Y Y→ Y*Z | Z Z → (X) Z → id If LR(1) parser is used to parse the above grammar, then total how many look-a-heads are present for the item “X→.Y” and “Z →.id” in the initial state?
Let G be any grammar with the following productions:X → X+Y | YY→ Y*Z | ZZ → (X)Z → idIf LR(1) parser is used to parse the above grammar, then total how many look...
Souvik33
878
views
Souvik33
asked
Jan 1, 2023
Compiler Design
compiler-design
made-easy-test-series
parsing
made-easy-booklet
lr-parser
+
–
0
votes
1
answer
41
Parsing Table | Shift Reduce Parsers | Numerical Answer
Consider the following statements regarding the Parsing Table of a shift reduce parser, for any given grammar No. of states/ size of parse table is same for all Shift-Reduce Parsers. No. of states/ size of parse table in LR(0), SLR(1 ... CORRECT statement is _______ (For example, if statement 1 and 7 are correct, answer would be 1+7, i.e. 8)
Consider the following statements regarding the “Parsing Table” of a shift reduce parser, for any given grammarNo. of states/ size of parse table is same for all Shif...
Souvik33
695
views
Souvik33
asked
Dec 11, 2022
Compiler Design
compiler-design
parsing
lr-parser
numerical-answers
difficult
descriptive
+
–
0
votes
1
answer
42
Compiler Design self Doubt
"Every Regular Grammar has a Right linear grammar and this is LL(1)" What is meaning of this statement exactly and does it hold always? My Assumptions: If a grammar is right linear grammar then it can be parser by LL(1) ->I ... right linear grammar. But this is not suffice to make grammar LL(1). Correct if I assumed anything wrong with some intutive answer.
"Every Regular Grammar has a Right linear grammar and this is LL(1)"What is meaning of this statement exactly and does it hold always?My Assumptions:If a grammar is right...
vishnu777
357
views
vishnu777
asked
Nov 25, 2022
Compiler Design
compiler-design
ll-parser
parsing
+
–
0
votes
1
answer
43
Compiler Design (Parsing)
S -> L = R S -> R L -> * R L -> id R -> L Is given CFG LR(0) & SLR(1)?
S - L = RS - RL - * RL - idR - LIs given CFG LR(0) & SLR(1)?
Kartheek8899
542
views
Kartheek8899
asked
Oct 14, 2022
Compiler Design
compiler-design
parsing
+
–
0
votes
1
answer
44
please solve
neelesh123
319
views
neelesh123
asked
Sep 16, 2022
Theory of Computation
compiler-design
parsing
lr-parser
+
–
Page:
« prev
1
2
3
4
5
6
7
...
23
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register