context-sensitive grammar noun1 •A formal grammar in which the left-hand sides and right-hand sides of any production rules may be surrounded by a context of terminal and nonterminal symbols. formscontext-sensitive grammars