0
15kviews
Explain with an example the Chomsky hierarchy.
1 Answer
1
1.2kviews

Chomsky hierarchy:

The Chomsky hierarchy classifies the formal language in the four types:

  1. Type 0: Unrestricted grammar

  2. Type 1: Restricted grammar (Context-sensitive)

  3. Type 2: Context free grammar

  4. Type 3: Regular grammar

enter image description here

The formal languages take the form of productions, like α → β

Fig 1. Chomsky hierarchy

Fig 1 describes …

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.