0 votes 0 votes what is semantic stack? and where it is used? Compiler Design compiler-design syntax-directed-translation parsing + – iarnav asked Nov 22, 2017 iarnav 428 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes To make the stack directly accessible to the semantic routines. Using this approach, the action routines take their parameters from the top of the stack rather than receiving them explicitly when they are called. Similarly, any semantic record produced by an action routine is pushed onto the stack after the parameters are removed. It is called an Action-Controlled Semantic Stack. it is mainly used in semantic routines abhishek tiwary answered Nov 23, 2017 • selected Nov 24, 2017 by iarnav abhishek tiwary comment Share Follow See all 0 reply Please log in or register to add a comment.