I'm quite sure it's more than just the word order. I was only using the programming language as an example, as it's so clear. Syntax of a language refers to the rules for forming admissible sentences.
e.g.
I do not know where my dogs have gone. Abides by the syntax of the English...