grammatically

ɡrəˈmatɪkli

adverb

in a way that relates to grammar or the rules of grammar.

the conversation will be grammatically analysed