428 views

1 Answer

Best answer
2 votes
2 votes
  1. 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.
  2. it is mainly used in semantic routines
selected by

Related questions

0 votes
0 votes
1 answer
1
Hirak asked Jun 1, 2019
2,113 views
S → aSbS /bSaS / ϵS → aABb A→ c/ ϵ B → d/ ϵWhich of the following is LL1. Explain in details.
0 votes
0 votes
1 answer
2
0 votes
0 votes
1 answer
3
Ebrahim asked Jan 12
175 views
Q1. For the following grammar N - AB | BA A - a | CAC B - b | CBC C - a | b Find the FIRST and FOLLOW
0 votes
0 votes
0 answers
4
Ebrahim asked Jan 11
109 views
Find the FIRST and FOLLOW of the grammar to check whether it is LL (1) parser or not. N → AB | BA A → a | CAC B → b | CBC C → a | b