Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Construct LL(1) Parsing table for the following grammar
rahuldb
asked
in
Compiler Design
Jan 31, 2017
retagged
Jul 18, 2022
by
makhdoom ghaya
4,843
views
0
votes
0
votes
compiler-design
parsing
grammar
ll-parser
theory-of-computation
test-series
rahuldb
asked
in
Compiler Design
Jan 31, 2017
retagged
Jul 18, 2022
by
makhdoom ghaya
by
rahuldb
4.8k
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
1
vote
1
vote
$
d
e
b
i
h
g
f
a
S
S → B b
S → B b
S → a A C
A
A → e D
B
B → g
B → f
C
C → i
C → h
D
D → b E
D →
ϵ
D →
ϵ
E
E → d D
E → e D
xdilwar
answered
May 22, 2017
by
xdilwar
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
4
votes
4
votes
1
answer
1
Kapil
asked
in
Compiler Design
Dec 27, 2016
18,957
views
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) .
Kapil
asked
in
Compiler Design
Dec 27, 2016
by
Kapil
19.0k
views
parsing
compiler-design
ll-parser
grammar
1
vote
1
vote
1
answer
2
garvit_vijai
asked
in
Compiler Design
Oct 10, 2018
881
views
LL(1) Parsing
To compute FOLLOW(A) for any grammar symbol A a) We must compute FIRST of some grammar symbols. b) No need of computing FIRST of some symbols. c) Maybe compute FIRST of some symbols. d) None of the above. The answer is given as option (A) but if we take ... will definitely in FOLLOW(S) and we didn't computed FIRST of any symbol for it. So option (C) should be the answer.
garvit_vijai
asked
in
Compiler Design
Oct 10, 2018
by
garvit_vijai
881
views
compiler-design
ll-parser
grammar
parsing
2
votes
2
votes
1
answer
3
sripo
asked
in
Compiler Design
Nov 10, 2018
3,186
views
If grammar is not LL(1) then it can never be CLR(1) or LALR(1)?
Can you give an example which is not LL(1) but is CLR(1)
sripo
asked
in
Compiler Design
Nov 10, 2018
by
sripo
3.2k
views
compiler-design
lr-parser
parsing
grammar
ll-parser
0
votes
0
votes
1
answer
4
Rahul Ranjan 1
asked
in
Compiler Design
Mar 19, 2018
4,922
views
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 ?
Rahul Ranjan 1
asked
in
Compiler Design
Mar 19, 2018
by
Rahul Ranjan 1
4.9k
views
compiler-design
grammar
parsing
ll-parser
left-recursion
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy