- 1a : the way in which linguistic elements (as words) are put together to form constituents (as phrases or clauses)
- b : the part of grammar dealing with this
- 2: a connected or orderly system : harmonious arrangement of parts or elements <the syntax of classical architecture>
- 3: syntactics especially as dealing with the formal properties of languages or calculi
In linguistics, syntax (from Ancient Greek σύνταξις "arrangement" from σύν syn, "together", and τάξις táxis, "an ordering") is the study of the principles and rules for constructing phrases and sentences in natural languages.
In addition to referring to the overarching discipline, the term syntax is also used to refer directly to the rules and principles that govern the sentence structure of any individual language, as in "the syntax of Modern Irish."
The term syntax is also used to refer to the rules governing the behavior of mathematical systems, such as formal languages used in logic. See Syntax (logic); Computer-programming languages; Syntax (programming languages).