In linguistics, the grammar of a natural language is its set of structural constraints on speakers' or writers' Composition of clauses, phrases, and words. The term can also refer to the study of such constraints, a field that includes domains such as phonology, morphology, and syntax, often complemented by phonetics, semantics, and pragmatics. wikipedia
~
your Grammar (set of structural constraints) ⇒ Real Constraint ⇒ Constraint