2 votes 2 votes Among these languages which is/are Context free Language and has Context Free Grammar ? please Explain the reason a little bit . 1 .LISP 2 .C-Language 3 .C++ Language 4 .Cobol Compiler Design context-free-language compiler-design + – shekhar chauhan asked Jul 5, 2016 • retagged Jul 4, 2017 by Arjun shekhar chauhan 745 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply vijaycs commented Jul 6, 2016 reply Follow Share C and C++ can not be regular as both contains open and closed braces. So it needs CFL to check syntax(parentheses matching ) of C and C++ language. Don't know abt COBOL and LISP. .. 1 votes 1 votes shekhar chauhan commented Jul 6, 2016 reply Follow Share okay lets wait for others to comment . 0 votes 0 votes Kapil commented Jul 6, 2016 reply Follow Share For C and C++ , refer this ==> https://gateoverflow.in/45246/is-c-language-cfl-or-strict-csl For LISP , I remember it uses S-expressions , like for factorial we have an S-expression ( * x Fact( - x 1)), which can be represented by context free grammars. For COBOL, i have no idea . 0 votes 0 votes Please log in or register to add a comment.