Let a and b be 2 strings . Does the set {$a^nb^n$ , $n\geq0$} still form a context free language?
Intuitively, I feel that should be the case since in this case I'm just storing strings instead of characters in my stack for the Pushdown automata but I am not able to prove anything. Any help would be appreciated !
Yes.
As a hint, recall the homomorphic image of a context free language is context free.
Can you see why your language is a homomorphic image of the context free language $\{ x^ny^n \} \subseteq \{x,y\}^*$?
I hope this helps ^_^