next up previous
Next: Processing languages and grammars Up: 13.11.2001: Grammatik: prozedurale Aspekte Previous: Formal grammars

Definition of the Chomsky hierarchy

  1. Let tex2html_wrap_inline887 be a grammar, where N is a set of nonterminal symbols, tex2html_wrap_inline891 is a set of terminal symbols, P is a set of rules, and tex2html_wrap_inline895 is the start symbol.
  2. Let tex2html_wrap_inline897
  3. Then G is of Type i (G is a tex2html_wrap_inline903 grammar) if P fulfils the ith condition:
    Type 0:
    tex2html_wrap_inline909 has the form tex2html_wrap_inline911, with tex2html_wrap_inline913.
    Type 1:
    tex2html_wrap_inline909 has the form tex2html_wrap_inline917, with tex2html_wrap_inline919 or tex2html_wrap_inline921 (note further conditions).
    Type 2:
    tex2html_wrap_inline909 has the form tex2html_wrap_inline925, with tex2html_wrap_inline927.
    Type 3:
    Either: tex2html_wrap_inline909 has the form tex2html_wrap_inline931, with tex2html_wrap_inline933,
    or: tex2html_wrap_inline909 has the form tex2html_wrap_inline931, with tex2html_wrap_inline933

Task:

Find further explanations of the Chomsky hierarchy in the literature or on the web.



Dafydd Gibbon, Wed Feb 12 10:50:41 MET 2003 Automatically generated, links may change - update every session.