Definition:Syntax

Definition
The syntax of a language (either natural or formal) is its structure.

Also see
Compare with semantics.

In the context of formal languages, the syntax is specified by the formal grammar.