Definition (Chomsky hierarchy)

Let $G = (Σ, N, P, S)$ be a grammar. A rewrite rule $α\to β$ is of

Let $\mathsf{Q}$ be one of these properties.

A grammar is called $\mathsf{Q}$ if all of its rewrite rules are $\mathsf{Q}$.

A language is called $\mathsf{Q}$ if it is produced by a grammar that is $\mathsf{Q}$. This is the Chomsky hierarchy.