The Collaborative International Dictionary
Grammatical \Gram*mat"ic*al\, a. [L. grammaticus, grammaticalis; Gr. ? skilled in grammar, knowing one's letters, from ? a letter: cf. F. grammatical. See Grammar.]
Of or pertaining to grammar; of the nature of grammar; as, a grammatical rule.
According to the rules of grammar; grammatically correct; as, the sentence is not grammatical; the construction is not grammatical.
-- Gram*mat"ic*al*ly, adv. -- Gram*mat"ic*al*ness, n.
Wiktionary
adv. 1 in a grammatical manner 2 concerning grammar
WordNet
adv. in a grammatical manner; "this child already speaks grammatically" [ant: ungrammatically]
Usage examples of "grammatically".
If people were classified grammatically, you'd be in the accusative case!
Grammatically, the species name, which comes second, modifies the genus name.