syntactically
verb
°according to the rules of syntax.
"The sentence was syntactically correct, but made no sense."