Timeline for Not getting the clear picture of Goto actions , reduce and shift actions in SLR Parsing
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 2, 2018 at 17:04 | vote | accept | Eddie Dorphy | ||
Jan 1, 2018 at 22:39 | comment | added | rici | @EddieDorphy: I added a detailed example to the answer. Hope it helps. | |
Jan 1, 2018 at 22:38 | history | edited | rici | CC BY-SA 3.0 |
Added example from the texbook
|
Jan 1, 2018 at 17:35 | comment | added | Eddie Dorphy | So , the rest of my understanding is correct ? | |
Jan 1, 2018 at 14:13 | comment | added | rici | @eddie: it always follows a reduce action. | |
Jan 1, 2018 at 12:24 | comment | added | Eddie Dorphy | So will it be right to say that a goto always co occurs with a reduce action ? Or does it always precede or succeed a reduce ? | |
Jan 1, 2018 at 12:21 | comment | added | Eddie Dorphy | When the right hand side is popped off,for example at state 3,with the advent of a T , the state to be pushed into the stack is state 3,i.e., the left hand side of the production in state 3 is to be pushed at the top of the stack . right ? However, could not exactly know what you meant by "the new revealed state " | |
Jan 1, 2018 at 12:00 | comment | added | Eddie Dorphy | Could you elaborate a bit more about Goto action using one of the examples in the table given here ? please ? | |
Jan 1, 2018 at 1:48 | history | answered | rici | CC BY-SA 3.0 |