I'm looking for examples of formal languages for Chomsky Type-0 to Type-3. While it is very simple to find examples for Type-1, Type-2, and Type-3, it is extremely hard for me to construct a simple example for Type-0, which is not Type-1.
Here are my exampes for Type-1 to Type-3:
Type-1: L1 = { anbncn | n ∈ ℕ }
Type-2: L2 = { anbn | n ∈ ℕ }
Type-3: L3 = { an | n ∈ ℕ }
An example for a Type-0 language which not that simple is the set of codes for turing machines which terminate for an empty input. While this is easy to express, it is not easy to imagine how elements of this set look like. Moreover, for understanding what this definition of a language actually means, one needs to have understood turing machines and the halting problem, which I think is a rather big requirement.