Dailyroot Try it free
HIGH 2 Grades 9–12 · noun

syntax

SIN·taks · noun

Syntax means the way words are arranged to make correct sentences, or the rules for writing code.

How to say syntax

Say it SIN·taks. The part in capital letters is the one you say loudest.

How syntax is built

Syntax is built from syn- (prefix, “together”) + tax (root, “to arrange (Greek tassein)”). The spelling changes a little where the parts join, so syn- + tax is written syn·tax.

A way to remember it
SYNTAX puts words together: SYN means together.

Syntax in a sentence

  • Syntax tells us that “the dog bit the man” differs from “the man bit the dog.”
  • The program failed because of an error in its syntax.

Examples about things learners like

  • GamingA mistake in the syntax made the game code stop working.
  • BooksThe author used unusual syntax to make the narrator sound old.
  • ScienceThe scientist wrote a program with careful syntax so the computer could read it.
  • MusicThe poet’s syntax followed the rhythm of the song.

What syntax means, explained another way

For a grade 4 reader

The way words are put in order in a sentence.

Good syntax helps a sentence make sense.

For a grade 7 reader

The way words are arranged to make correct sentences, or the rules for a computer language.

For an adult

The arrangement of words and phrases in a sentence; the rules for forming statements in a programming language.

Questions about syntax

Why does syntax mean that?

It comes from Greek syntaxis, an arranging together. It joins syn, together, and tassein, to arrange.

A word like syntax

Grammar is a word like it. Grammar covers all the rules of language; syntax is the part about word order.

Syntax or semantics?

Syntax is how words are arranged. Semantics is what the words mean. A sentence can have correct syntax but still make no sense.

Use it in science

In a computer language, a missing bracket is a syntax error and the program cannot run.

Another word for syntax

grammar

Other words from the root tax

The Greek root tax means “arrange, put in order”. Knowing it helps with 1 other word in Dailyroot:

The root tax: its meaning and every word built on it

More high school words on stage 2

All high school vocabulary words (grades 9–12)

Learn a word like this every day

Dailyroot gives each learner one new word a day at their own level, from grade 3 to adult, and teaches it through its root, with five quick reviews so it stays. Up to five learners share one Family plan. No ads.

Try Dailyroot free in your browser

On iPhone and iPad soon, with the same words and your family’s progress: pre-order on the App Store.

Meanings and examples in Dailyroot are written with AI in advance and checked.