Definition of grammar
1
A: the study of the classes of words, their inflections (see infection 3), and their functions and relations in the sentence
B: a study of what is to be preferred and what avoided in infection (see infection 3) and syntax (see syntax 1)
2
A: the characteristic system of infections (see infection 3) and syntax of a language
B: a system of rules that defines the grammatical structure of a language
3
A: a grammar textbook
B: speech or writing evaluated according to its conformity to grammatical rules appalled at the bad grammar of college students
4
: the principles or rules of an art, science, or technique a grammar of the theatre; also: a set of such principles or rules