Special case
rule l_recurse l_recurse / 'something else' end
simplifies
rule l_recurse 'something_else' end
(as well as the correct recursion rule), so I need to see your specific example to find out what you want to know. The answer to this question is given by the general rule for eliminating left recursion.
One of the typical easily removable left recursive cases is the list:
rule l_list item | l_list ',' item end
and this can be changed to right recursion
rule r_list item r_tail? end rule r_tail ',' r_list end
(which is a special case of eliminating general recursion).
source share