The sequence in which words are put together to form sentences. In English, the usual sequence is subject, verb, and object.
Note: Syntactic languages, such as English, use word order to indicate word relationships. Inflected languages (see inflection), such as Greek and Latin, use word endings and other inflections to indicate relationships.
language
The structure of valid strings in a given language, as described by a grammar. For example, the syntax of a binary number could be expressed as
binary_number = bit [ binary_number ]
bit = "0" | "1"
meaning that a binary number is a bit optionally followed by a binary number and a bit is a literal zero or one digit.
The meaning of the language is given by its semantics.
See also abstract syntax, concrete syntax.
(1994-10-31)