engineering recuitment GATE CSE 2023-24 Test Series Compiler Design Syntax Directed Translation L Attributed
Consider the SDT given below :
E -> E ↑ E {print (‘↑’) ;}
| E * E {print (‘*’) ;}
| id {print(id.name); }
The above SDT is
1
L-attributed
2
S-attributed
3
S-attributed and L-attributed
4
Neither S-attributed and nor L-attributed