0 votes 0 votes Prove that if $G$ is a context-free grammar, then every $w ∈ L(G)$ has a leftmost and rightmost derivation. Give an algorithm for finding such derivations from a derivation tree. Theory of Computation peter-linz peter-linz-edition4 theory-of-computation context-free-grammar context-free-language + – Naveen Kumar 3 asked Apr 14, 2019 Naveen Kumar 3 163 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.