what is the difference between regular language and context free language?
Regular grammar is either right or left linear, whereas context free grammar is basically any combination of terminals and non-terminals. ... Since regular grammars are non-ambiguous, there is only one production rule for a given non-terminal, whereas there can be more than one in the case of a context-free grammar.