In
logic,
syntax is anything having to do with
formal languages or
formal systems without regard to any
interpretation or
meaning given to them. Syntax is concerned with the rules used for constructing, or transforming the symbols and words of a language, as contrasted with the
semantics of a language which is concerned with its meaning.