languages

Definition

Context-Sensitive Grammar (Type-1)

A grammar is called context-sensitive (Type-1) if every production in is of the form where there exist , , and such that

In words: a single nonterminal may be replaced by a nonempty string , but only in its surrounding context .