The following grammar is given:\begin{align*}M &\rightarrow d M d \\M &\rightarrow e M e \\M &\rightarrow f M f \\M &\rightarrow \varepsilon\end{align*}I've checked it with the LL(1) table and there are ambiguous cell entries.Now, I've tried to convert it to LL(1), but without success. Is this not possible for this grammar? Why?
How to convert the following grammar to LL(1)?
formal languages;formal grammars