grammar

A description of a language as a system. In describing a language, attention is paid to both structure (form) and meaning (function) at the level of a word, a sentence and a text.