The question is to write a recursive-descent parser for a language that contains sentences of form w+w', in which w is an arbitrary string of lowercase chars, w' is the reverse of w, and + the plus character. Examples of this language are:
- racecar+racecar
- example+elpmaxe
I can write a parsing function without recursion using a stack: just keep pushing until hitting '+', after which pop from the stack to check with the input character.
I don't know how to come up with recursive descent parser one. Textbook examples usually do not have such requirements for nonterminals.