Noun
(linguistics) The system of the internal structure of words (morphology) and the way in which words are put together to form phrases and sentences (syntax).
(linguistics, formal) Grammar.