I'm having a hard time with this textbook and my professor sees answering questions as unfair to the students who already know the material coming into the class (getting feedback from this guy is a data mining process in and of itself). Anyways, my question revolves around derivations for CFG's (formal languages/functional programming class).
Given a context free grammar that looks like:
S-> a|B
B-> b|C
C-> c
find the left most derivation. Is is simply a? because S->a is the left-most rule in S->a|B? or do I just conclude that the derivation can be either a, b, or c? I'm really confused on which rule to actually choose, I've been blowing through these problems just going in left-right sequential order for picking the rules on each (left-most) variable analyzed, but this one doesn't have recursion in it so I'm not sure what to do. I would very much appreciate any insight on this, I've watched videos and read the book, but no one seems to talk about this scenario. Thanks.
Also, our book: http://cglab.ca/~michiel/TheoryOfComputation/TheoryOfComputation.pdf