Language Experts, Remove Left Hand Recursion

Status
Not open for further replies.

dabench

Senior member
Sep 23, 2004
465
0
71
I have some homework that requires me to remove direct left hand recursion. Let me start out by stating that I am not asking you to do my homework for me, I just want to know if I am on the right track.

I have the following prduction:

e --> e + t
--> e - t
--> t

I can replace that with:
e --> te`
e '--> +te'
e` --> /te'
e` --> te'
e` -->
 

MichaelD

Lifer
Jan 16, 2001
31,528
3
76
Interesting. I speak some Turkish and some Italian. I've never heard of "left hand recursion."

Do you sign in a foreign language? What's your left hand got to do with speaking any language? :confused:
 
Status
Not open for further replies.