How to remove left recursion in the following Grammar:
Im new to this, below is the way I'm doing it:
S-> Sd/a B-> Bc/Bb/e
I replaced the values of S and B with Bb and Sd to make the grammar easier to deal with. Then:
S-> aS' S'-> dS' / ε
Is this the correct approach to do this ?