Difference between revisions of "Syntax"

From Computer History Wiki
Jump to: navigation, search
(A bit stubby, but an OK start)
 
(Make slightly more general)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Syntax''' refers to the allowed patterns of symbols (often [[ASCII]] text) for the input to a program; the term is most often used with [[programming language]]s, in which [[program]]s in a given language are input to a [[compiler]]. However, the term is used for many things in computer. e.g. [[email]] has a standard for syntax in email messages.
+
'''Syntax''' refers to the allowed patterns of constituent elements in a complex data item - for example, the [[ASCII]] [[character]]s in the input to a program. The term is often used with [[programming language]] [[source code]], in which [[program]]s in a given language are input to a [[compiler]] or [[interpreter]]. However, the term is used for many things in computers; e.g. [[email]] has a standard for syntax in email messages.
 +
 
 +
==See also==
 +
 
 +
* [[Semantics]]
  
 
{{semi-stub}}
 
{{semi-stub}}
 +
 +
[[Category: Basics]]

Latest revision as of 18:02, 28 April 2022

Syntax refers to the allowed patterns of constituent elements in a complex data item - for example, the ASCII characters in the input to a program. The term is often used with programming language source code, in which programs in a given language are input to a compiler or interpreter. However, the term is used for many things in computers; e.g. email has a standard for syntax in email messages.

See also