The study or science of grammar; the principles and rules of grammar collectively.
From 'grammatic' or 'grammar' plus the suffix '-ics' (from Greek '-ika'), which creates a noun meaning 'the science or system of,' similar to 'physics' or 'mathematics.'
Though rarely used today, 'grammatics' shows an old attempt to make grammar sound like a rigorous science alongside physics and mathematics—but modern linguists often reject the idea that language rules can be as fixed as physics laws!
Complete word intelligence in one call. Free tier — 50 lookups/day.