Hello Xavier,
you're right of course: Communication is one of the tasks of language.
The Grammar is "late": Language follows special patterns (word order, inflection, cases, conjugation, etc) - language has to follow those patterns as without them, communication wouldn't be possible.
The only...