The syntax is the grammar, structure, or order of the elements in a language statement. (Semantics is the meaning of these elements.) Syntax applies to computer languages as well as to natural languages. Usually, we think of syntax as “word order.” However, the syntax is also achieved in some languages, such as Latin, by inflectional case endings. In computer languages, syntax can be highly rigid, as in the case of most assembler languages or less severe in languages that use “keyword” parameters that can be stated in any order.
In linguistics, syntax (/ˈsɪntæks/) is the set of rules, principles, and processes that govern the structure of sentences (sentence structure) in a given language, usually including word order. The term syntax is also used to refer to the study of such principles and processes. Many syntacticians aim to discover the syntactic rules common to all languages.
One basic description of a language’s syntax is the sequence in which the subject (S), verb (V), and object (O) usually appear in sentences. Over 85% of languages usually place the subject first in the sequence SVO or SOV. The other possible sequences are VSO, VOS, OVS, and OSV, the last three of which are rare.
Syntax is basically about what word comes before and after another word; in other words, it’s part of the more significant subject of grammar. Syntax is often an issue in poetry, and it’s usually discussed in connection with diction—the poet’s choice of words.
Syntax refers to the rules that govern how words combine to form phrases, clauses, and sentences. The term “syntax” comes from Greek, meaning “arrange together.” The term is also used to indicate the study of the syntactic properties of a language. In computer contexts, the term refers to the proper ordering of symbols and codes so that the computer can understand what instructions are telling it to do.
- Syntax is a tool used in writing proper grammatical sentences.
- Native speakers of a language learn correct syntax without realizing it.
- The complexity of a writer’s or speaker’s sentences creates a formal or informal level of diction that is presented to its audience.
Hearing and Speaking Syntax
The syntax is one of the significant components of grammar. It’s the concept that enables people to know how to start a question with a question word (“What is that?”), or that adjectives generally come before the nouns they describe (“green chair”), subjects often come before verbs in non-question sentences (“She jogged”), prepositional phrases start with prepositions (“to the store”), helping verbs come before main verbs (“can go” or “will do”), and so on.
For native speakers, using correct syntax comes naturally, as word order is learned when an infant starts absorbing the language. Native speakers can tell something isn’t said quite right because it “sounds weird,” even if they can’t detail the exact grammar rule that makes something sound “off” to the ear.
Syntactic Rules
English parts of speech often follow ordering patterns in sentences and clauses, such as compound sentences are joined by conjunctions (and, but, or) or multiple adjectives modifying the same noun follow a particular order according to their class (such as number-size-colour, as in “six small green chairs”). The rules of how to order words help the language parts make sense.
Sentences often start with a subject, followed by a predicate (or just a verb in the simplest sentences) and contain an object or a complement (or both), which shows, for example, what’s being acted upon. Take the sentence, “Beth slowly ran the race in wild, multicoloured flip-flops.” The sentence follows a subject-verb-object pattern (“Beth ran the race”). Adverbs and adjectives take their places in front of what they’re modifying (“slowly ran”; “wild, multicoloured flip-flops”). The object (“the race”) follows the verb “ran”, and the prepositional phrase (“in wild, multicoloured flip-flops”) starts with the preposition “in”.
Syntax vs. Diction and Formal vs. Informal
Diction refers to the style of writing or speaking that someone uses, brought about by their choice of words, whereas syntax is the order in which they’re arranged in the spoken or written sentence. Something written using a very high level of diction, like a paper published in an academic journal or a lecture given in a college classroom, is written very formally. Speaking to friends or texting is informal, meaning they have a low level of diction.
Formal written works or presentations would likely also have more complex sentences or industry-specific jargon. They are directed to a more narrow audience than something meant to be read or heard by the general public, where the audience members’ backgrounds will be more diverse.
Precision in word choice is less exacting in informal contexts than formal ones and grammar rules are more flexible in spoken language than in formal written language. Understandable English syntax is more flexible than most.
Types of Sentence Structures
Types of sentences and their syntax modes include simple, compound, complex, and compound-complex sentences. Compound sentences are two simple sentences joined by a conjunction. Complex sentences have dependent clauses, and compound-complex sentences have both types included.
Simple sentence: Subject-verb structure (“The girl ran”.)
Compound sentence: Subject-verb-object-conjunction-subject-verb structure (“The girl ran the marathon, and her cousin did, too”.)
Complex sentence: Dependent clause-subject-verb-object structure (“Although they were tired after the marathon, the cousins decided to go to a celebration at the park”.)
Compound-complex sentence: Four clauses, dependent and independent structures (“Although they weren’t fond of crowds, this was different, they decided, because of the common goal that had brought everyone together”.)
Syntax Variations and Distinctions
Syntax has changed somewhat over the development of English through the centuries. And not all people speak English in the same way. Social dialects learned by people with common backgrounds—such as a social class, profession, age group, or ethnic group—also may influence the speakers’ syntax. Consider the differences between teenagers’ slang and more fluid word order and grammar vs. research scientists’ technical vocabulary and manner of speaking to each other. Social dialects are also called “social varieties”.
Beyond Syntax
Following proper syntax doesn’t guarantee that a sentence will have meaning, though. Linguist Noam Chomsky created the sentence “Colorless green ideas sleep furiously,” which is syntactically and grammatically correct because it has the words in the proper order and verbs that agree with subjects, but it’s still nonsense. With it, Chomsky showed that rules governing syntax are distinct from meanings that words convey.