in Compiler Design retagged by
287 views
0 votes
0 votes
E-->TE/a

T-->ET/b

first set of E and T??
in Compiler Design retagged by
by
287 views

2 Comments

First(E) = First(T) = {a, b}
1
1
yes First of both are {a,b}
0
0

2 Answers

2 votes
2 votes
First(E) = {a, b}

First(T) = {a, b}
0 votes
0 votes
  • $first (E)=first(T)\cup first(a)=(a,b)$
  • $first(T)=first(E) \cup first(b)=(a,b)$