1.
Linguistics .
b.
c.
the rules or patterns so studied: English syntax.
d.
a presentation of these: a syntax of English.
e.
an instance of these: the syntax of a sentence.
2.
Logic .
a.
that branch of modern logic that studies the various kinds of signs that occur in a system and the possible arrangements of those signs, complete abstraction being made of the meaning of the signs.
b.
the outcome of such a study when directed upon a specified language.
3.
a system or orderly arrangement.
4.
The structure of valid strings in a given language, as described by a grammar. For example, the syntax of a binary number could be expressed as
binary_number = bit [ binary_number ]
bit = "0" | "1"
meaning that a binary number is a bit optionally followed by a binary number and a bit is a literal zero or one digit.
The meaning of the language is given by its semantics.
See also abstract syntax, concrete syntax.
Computers . the grammatical rules and structural patterns governing the ordered use of appropriate words and symbols for issuing commands, writing code, etc., in a particular software application or programming language.
1. | the branch of linguistics that deals with the grammatical arrangement of words and morphemes in the sentences of a language or of languages in general |
2. | the totality of facts about the grammatical arrangement of words in a language |
3. | a systematic statement of the rules governing the grammatical arrangement of words and morphemes in a language |
4. | logic a systematic statement of the rules governing the properly formed formulas of a logical system |
5. | any orderly arrangement or system |
[C17: from Late Latin syntaxis, from Greek suntaxis, from suntassein to put in order, from |
syntax definition
languageThe structure of valid strings in a given language, as described by a grammar. For example, the syntax of a binary number could be expressed as
binary_number = bit [ binary_number ]
bit = "0" | "1"
meaning that a binary number is a bit optionally followed by a binary number and a bit is a literal zero or one digit.
The meaning of the language is given by its semantics.
See also abstract syntax, concrete syntax.
Tidak ada komentar:
Posting Komentar