Computer Science, asked by niatna5676, 1 year ago

Difference between regular expression and context free grammar in table format

Answers

Answered by jecquiline
3
which table
I means in which software ???
Answered by Sidyandex
0

A regular grammar is the one that can be either left or right-linear.

Whereas in the context-free grammar, it will be the combination of non-terminals and terminals.

In simple words, it is not wrong to say that regular grammar is a subset of the context-free language that can be represented in the form of,

S -> ABC

A -> aabab

B -> aababA

Similar questions