Teaching UGC NET Mock Test Series 2025 (Paper 1 & 2) Theory of Computation Context Free Languages and Pushdown Automata Context Free Grammars
The following code :
stmt → if expr then stmt else stmt
| if expr then stmt
suffers from :
1
Ambiguity
2
Left factoring
3
Left Recurssion
4
λ-moves