Got a simple grammar that have to transform to LL(1)
i've tried many solutions but removed the left recursion but it does not produce the same grammar.
The grammar is this:
X -> E $
E -> E E o
E -> n
Any idea how can i turn this right recursive? Is there any general algorithm?