syntax
US /ˈsɪn.tæks/
UK /ˈsɪn.tæks/

1.
the arrangement of words and phrases to create well-formed sentences in a language
:
•
The grammar checker identified an error in the sentence syntax.
•
Understanding the basic rules of syntax is crucial for learning a new language.
2.
the set of rules that defines the combinations of symbols that are considered to be correctly structured statements or expressions in a particular language, especially a programming language
:
•
A common error for beginners in programming is incorrect syntax.
•
The compiler reported a syntax error, indicating a problem with the code structure.