324 views
0 votes
0 votes
Consider following grammar : 
S → A + B | A 
A → (B) | int | int * A 
The no. of newly added non-terminal symbols after left – factoring above grammar are___________.

Correct Answer: 2    Status: unattempted

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
Sarahcs asked May 6
51 views
directed acyclic graph(DAG)is a simplified step from the AST. Solve the following expressions by AST and DAG: X=(((a+a))+((a+a)+(a+a)))
0 votes
0 votes
0 answers
2
0 votes
0 votes
0 answers
3
1 votes
1 votes
0 answers
4
Ebrahim asked May 5
41 views
1. Generate intermediate code for the following code segment. a) (x<y) and (y>z) and not z b) if(i%2==0)evensum=evensum+elseoddsum=oddsum+i;