Unrestricted Grammar

1 min read Updated Wed May 06 2026 17:34:33 GMT+0000 (Coordinated Universal Time)

Aka. phrase-structure grammar. A 4-tuple G=(V,Σ,S,P)G = (V, \Sigma, S, P) where:

  • VV — non-terminals
  • Σ\Sigma — terminals
    VV and Σ\Sigma are disjoint.
  • SS — start symbol
  • PP — productions
    αβ\alpha \to \beta where α,β(VΣ)\alpha, \beta \in (V \cup \Sigma)^* and α\alpha contains 1\geq 1 non-terminal

A relaxation over CFGs where, on LHS of productions, more than 1 non-terminals may occur.

For any recursively-enumerable language LL, there exists an unrestricted grammar GG generating LL.

For any unrestricted grammar GG, there exists a Turing machine TT that accepts the same language.