Aka. phrase-structure grammar. A 4-tuple where:
- — non-terminals
- — terminals
and are disjoint. - — start symbol
- — productions
where and contains non-terminal
A relaxation over CFGs where, on LHS of productions, more than 1 non-terminals may occur.
For any recursively-enumerable language , there exists an unrestricted grammar generating .
For any unrestricted grammar , there exists a Turing machine that accepts the same language.