my professor give us an assignment:
- write a program in java to resolve left recursive of grammer?
please if any one can help me i will be thankful
Printable View
my professor give us an assignment:
- write a program in java to resolve left recursive of grammer?
please if any one can help me i will be thankful
Unfortunately, I do not know anything about Java
This isn't really an assignment that a professor would give on the first week - I'm in my 8th week of study, and we're just now getting to recursion. That being said, you must know something about Java. As Vinod said, just post some code you've written and we'll try to help. Or, at the very least, post an algorithm with pseudocode and we can point you in the right direction.
Then, by Jove, why did your professor give you this assignment? Left recursion removal is easy; see here, but you do need to know at least a little Java to implement it.
kind regards,
Jos