grammatics
Grammatics is the field concerned with the systematic description and analysis of the structure of a language, including its rules for forming words, phrases, and sentences, as well as punctuation and orthography. It can be used as a synonym for grammar, or as the scholarly discipline within linguistics that investigates how grammatical systems are organized and used.
The field covers morphology (word formation, inflection), syntax (sentence structure), phonology/phonetics (sound systems that influence form
Descriptive grammatics describes how language is actually used, based on data from corpora and native speaker
Methods and theories include traditional grammar, structuralism, generative grammar, functional and cognitive approaches, and corpus linguistics.
Applications of grammatics appear in education, language documentation, computational linguistics, natural language processing, spell-checkers, and grammar