0 votes 0 votes S -> A B A -> f S f A -> b b B d B -> Ɛ B -> c First(S) = First(A) = First(B) = Follow(S) = Follow(A) = Follow(B) = Compiler Design first-and-follow compiler-design parsing grammar + – Ana_101 asked Apr 19 Ana_101 264 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes First(S) = f,bFirst(A) = f,bFirst(B) = Ɛ,cFollow(S) = \$,fFollow(A) = \$,cFollow(B) = \$,d AagamS_0109 answered Apr 20 AagamS_0109 comment Share Follow See all 2 Comments See all 2 2 Comments reply Ana_101 commented Apr 21 reply Follow Share You mean: Follow (A) = {c} and Follow(B) = {$,d} ??? 0 votes 0 votes AagamS_0109 commented Apr 22 reply Follow Share the dollar symbol is not showing in the answer Follow(S)={$,f}, Follow(A) = {$,c}, Follow(B) = {$,d} 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes First(S) = f,b First(A) =f,b First(B) =£,c Follow(S) =$ f Follow(A) =first(B)=c,$,f Follow(B) =d union follow (S)=d,$,f archiii answered May 22 archiii comment Share Follow See all 0 reply Please log in or register to add a comment.