C1nounformallanguagetechnology
US/ˈsɪn.tæks/
UK/ˈsɪn.tæks/
the rules for how words are arranged to make correct sentences
In context
English syntax usually puts the subject before the verb.
The program stopped because of a syntax error in line twelve.
Her writing is clear, but the syntax is sometimes awkward.
Words that go with syntax
noun + noun
- syntax errorThe code would not run because of a syntax error.
adjective + noun
- English syntaxEnglish syntax is quite different from Vietnamese.
- complex syntaxLegal documents often use complex syntax.
- basic syntaxChildren master basic syntax by the age of four.
noun + preposition
- rules of syntaxThe rules of syntax differ from one language to another.
Common mistakes
Incorrect:
a syntaxCorrect: syntax