Hack Forums
How do I eliminate left recursion in this format? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Coders Lounge (https://hackforums.net/forumdisplay.php?fid=5)
+---- Thread: How do I eliminate left recursion in this format? (/showthread.php?tid=5460124)



How do I eliminate left recursion in this format? - J. McCarthy - Nov 10, 2016

Remove the direct left recursion from the following grammar portion:
<A> - > b k <Z>
<A> - > <A> p <W>
<A> - > c m <Z>
<A> - > <A> k <Z>
<A> - > <A> e f <W>
<A> - > d o <Z>

I'm having trouble determining ehich is alpha and beta, also why is there no divide between them?