0 votes 0 votes Find the first of RHS of $A \rightarrow AB/\epsilon$ Compiler Design compiler-design first-and-follow + – Mojo-Jojo asked Sep 21, 2015 • edited Nov 8, 2023 by Hira Thakur Mojo-Jojo 1.1k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes $A \rightarrow AB / \epsilon$ Here $A\rightarrow AB$ is useless production. So the only production that matters is $A\rightarrow \epsilon$. So $First (A) = \epsilon$ Digvijay Pandey answered Sep 22, 2015 • edited Nov 8, 2023 by Hira Thakur Digvijay Pandey comment Share Follow See all 2 Comments See all 2 2 Comments reply dhairya commented Aug 13, 2016 reply Follow Share First of A-> AB will be..? while filling the parsing table of LL(1) .. where this production (A->AB) willl be placed..?? 0 votes 0 votes dexter_n commented Dec 1, 2020 reply Follow Share given grammar is left recursive hence, LL(1) parser is not possible 0 votes 0 votes Please log in or register to add a comment.