- #1
mathmari
Gold Member
MHB
- 5,049
- 7
I have the following grammars and I have to check if they are regular. Could you tell me how I can check this?
$G_1:$$$ I \to aK|bL$$
$$K \to bL| \varnothing$$
$$L \to dL|cK| \varnothing$$
$G_2:$$$ I \to KL$$
$$K \to aK|bK| \varnothing$$
$$L \to cL| dL| \varnothing$$
$G_3:$$$I \to II|(I)| \varnothing$$
$G_1:$$$ I \to aK|bL$$
$$K \to bL| \varnothing$$
$$L \to dL|cK| \varnothing$$
$G_2:$$$ I \to KL$$
$$K \to aK|bK| \varnothing$$
$$L \to cL| dL| \varnothing$$
$G_3:$$$I \to II|(I)| \varnothing$$