grammatician
Grammatician is a term for a person who studies or teaches grammar. The word is an older or variant form of grammarian, derived from Latin grammaticus and used in English since the early modern period. A grammatician may analyze the structure of a language, describe its rules, or produce instruction on correct usage and syntax.
Historically, grammaticians wrote grammar manuals and commentaries that organized how languages should be taught and used.
In modern English, grammarian is the more common spelling and term, while grammatician is now rare and