Say I have a grammar, S→ AB
A→ a
B→ b
This grammar is not operator grammar as 2 non terminals are lying side by side, but can be converted to an operator grammar. S→ ab , A→ a , B→ b
here i have a doubt, operator grammar as the name suggests should have a operator in between right? how can we operate even two terminal symbols when placed side by side? Isn’t it same as placing 2 non-terminal symbol side by side?