0 0 votes Consider the following grammar : S →(S) | ε Consider an instant where while parsing the string “(())” Top of stack: S Input pointer: ) The operation performed at this point is? S is popped off S is kept as it is. S is kept as it is and the input pointer is incremented None of these. Compiler Design + – Anirban Biswas 937 views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply Sushant Gokhale commented Jan 31, 2017 reply Follow flag The LL(1) table is : ( ) $ S S->(S) S->$\epsilon$ S->$\epsilon$ So, with this , option 1 seems appropriate. 0 0 replyShare Gurdeep Saini commented Nov 24, 2018 reply Follow flag yes A will be answer and reason given by Sushant Gokhale is correct 0 0 replyShare Please log in or register to add a comment.