1 votes 1 votes Consider the grammar given S->AA A->aA / b How many entries will be blank in the GOTO table for SR(0) items? What is the meaning of SR(0) items? Compiler Design parsing grammar virtual-gate-test-series + – Avdhesh Singh Rana asked Jan 25, 2018 retagged Jul 16, 2022 by Anjana5051 Avdhesh Singh Rana 1.4k views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply skyby commented Jan 25, 2018 reply Follow Share Is it lr0 table And is ans 10? 1 votes 1 votes Queenia Agrawal commented Feb 1, 2018 reply Follow Share @skyby I got the same and VG gave correct ans as 10 too. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes LR(0) table. what is the answer is it 15? neelesh bhakt answered Jan 25, 2018 neelesh bhakt comment Share Follow See 1 comment See all 1 1 comment reply suryaprakash commented Jun 12, 2018 reply Follow Share i got only 10 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Grammar mentioned below: S-> AA A->aA/b ------------------------------------- LR(0) items works for,[LR(0) and SLR(1)] parsers have identical GOTO part. STATES GOTO 0 3 1 1 -- -- 2 -- -- 3 2 -- 4 -- -- 5 -- -- 6 4 -- Blank entries arel 10 in GOTO. Dharmendra Verma answered Nov 3, 2018 Dharmendra Verma comment Share Follow See all 0 reply Please log in or register to add a comment.