Skip to main content
syntax

syntax

32 5.4
Rules that tell how to put words into sentences or how to write computer code
  • noun
  • /ˈsɪn.tæks/
  • Specialized
translation icon : sintaxis
  • How does syntax differ from grammar?
  • grammar and syntax
  • syntax and morphology
  • syntax and semantics

And worse, once we've all agreed that we are going to put some new syntax in, we can never take it back.

Autoplay Next

Examples

  • Note that fx is the syntax for applying the function f to x.

    Academic text (2011)
  • And the syntax for it is really simple and straightforward.

  • See if this syntax works.

  • And in C, the basic syntax for a for loop looks like this.

  • The development of language with sophisticated syntax enabled man to communicate in a far more effective manner.

    Fiction book (1994)
  • The whole country is now analysing the grammar and syntax of this comment.

  • In math, the content doesn't really matter, just the syntax, Adams explains.

    Academic text (2011)
  • At all stages, participants edited questions to improve syntax and clarity and to eliminate subjective language.

    Academic text (2011)
  • Previous research has noted associations between memory and expressive syntax in children who are L2 learners.

    Academic text (2015)
  • In programming, understanding the correct syntax is essential for the code to run properly.

Synonyms

grammar
vssyntax
106 1.1

Rules of a language that show how words form sentences

is narrower focusing just on rules for structure and order
4 2.8

The order of words and groups of words used to make sentences

is the rule set that explains and governs that arrangement
word order
vssyntax
  • Specialized
1 1.6

The way words are put in a sentence to show who does what

is broader and covers rules beyond simple ordering of words

Compounds

syntax error
  • Specialized
1 4.2

A mistake in computer code that breaks the language rules before the program runs

syntax checker
  • Specialized
3.8

A computer program that finds mistakes in the order of words or symbols in text

syntax language
  • Specialized
8.0

A formal set of rules used to describe how a human or computer language is built

Surface Forms

syntax singular
syntaxes plural

Morphology

syntax = syn + taxis

Although historically analyzable as syn- + -taxis, these Greek combining forms are not recognizable productive English morphemes for a B1 learner, so the meaning cannot be reliably derived from English base words.

Etymology

Syntax comes from Greek parts syn- 'together' and taxis 'arrangement'. Think of tactic as a similar idea of planned order, so in language and in computer code syntax is the set of rules that tells how to put words together in the right order.