in Compiler Design
50 views
1 vote
1 vote
Find first & follow for the given grammar

S → AB / DC

A → a / Aa

B → bc / Bbc

D → ab / aDb

C → c / CC
in Compiler Design
by
50 views

1 comment

 
Non-Terminal First Follow
S {a} {$}
A {a} {a,b}
B {b} {$,b}
D {a) {b,c}
C {c} {$,c}

 

3
3

Subscribe to GO Classes for GATE CSE 2022

Please log in or register to answer this question.

Related questions

1 vote
1 vote
0 answers
2
saurabh rai asked in Operating System Dec 13, 2019
256 views
saurabh rai asked in Operating System Dec 13, 2019
256 views