3,241 views

1 Answer

1 votes
1 votes
Simply reverse  the grammar.

Ex;

A→Aa/a(left rec)

Reverse the grammer

A→aA/a(right rec)

You can do vice versa.Note : In case of Left Linear or Right Linear not for all.
edited by

Related questions

0 votes
0 votes
0 answers
2