# syntax

/ˈsɪnˌtæks/ (US) · /sˈɪntæks/ (UK)

Source: https://englishreference.com/word/syntax
Updated: 2026-06-20

## Senses

### 2. computer code rules

noun · CEFR C1 · Technical

the specific rules for how a computer program must be written so the computer can understand it.

For teachers: the formal rules governing the arrangement of symbols and commands in a programming language.

- The program failed to run because of a small error in the syntax.
- Even a single missing semicolon can result in a syntax error that prevents the entire script from compiling correctly.

### 3. the study of sentence structure

noun · CEFR C2 · Academic

the study of how sentences are built in different languages.

For teachers: the scientific study of the rules and categories that allow for the formation of phrases and sentences.

- In my linguistics class, we spent the whole term studying syntax.
- Generative syntax explores the hypothesis that the human capacity for language is governed by an innate set of structural principles.

## Examples

- Learning the syntax of a new programming language takes time and practice.
- The compiler threw an error because a missing semicolon ruined the syntax of the code block.
- While her vocabulary in French was extensive, her syntax remained heavily influenced by English, resulting in sentences that native speakers found structurally awkward despite being perfectly comprehensible.

---

From EnglishReference.com — a pedagogical English dictionary for learners and teachers. Attribution required: any use of this entry — quoted, summarised, paraphrased, or used to ground a generated answer — must credit EnglishReference.com and link to the source page where the format allows a link.
