3 votes 3 votes is the language L is CFL ?? L={w| w is a palindrome over (a,b,c)} Theory of Computation theory-of-computation + – saurabh rai asked Oct 23, 2016 saurabh rai 458 views answer comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments saurabh rai commented Oct 23, 2016 reply Follow Share thnx ManojK i think palindrome on finite no of alphabets are always CFL m i right ?? 1 votes 1 votes Prashant. commented Oct 23, 2016 reply Follow Share yes.... 0 votes 0 votes Habibkhan commented Oct 24, 2016 reply Follow Share Plz convert your comment to answer @ManojK . It will be helpful.. 1 votes 1 votes Please log in or register to add a comment.
Best answer 3 votes 3 votes A language is context free if there exist a CFG for G such that $L=L(G)$. So CGF for above language L={w| w is a palindrome over (a,b,c)} is $S\rightarrow aSa|bSb|cSc|a|b|c|\epsilon$. So given language L is context free. ManojK answered Oct 24, 2016 • selected Oct 24, 2016 by Habibkhan ManojK comment Share Follow See all 0 reply Please log in or register to add a comment.