Difference between revisions of "Programming language"
Karl Jones (Talk | contribs) (lc) |
Karl Jones (Talk | contribs) (Syntax (programming languages)|syntax) |
||
Line 9: | Line 9: | ||
Many programming languages require computation to be specified in an imperative form (i.e., as a sequence of operations to perform), while other languages utilize other forms of program specification such as the declarative form (i.e. the desired result is specified, not how to achieve it). | Many programming languages require computation to be specified in an imperative form (i.e., as a sequence of operations to perform), while other languages utilize other forms of program specification such as the declarative form (i.e. the desired result is specified, not how to achieve it). | ||
− | The description of a programming language is usually split into the two components of syntax (form) and semantics (meaning). | + | The description of a programming language is usually split into the two components of [[Syntax (programming languages)|syntax]] (form) and semantics (meaning). |
Some languages are defined by a specification document (for example, the C programming language is specified by an ISO Standard), while other languages (such as Perl) have a dominant implementation that is treated as a reference. | Some languages are defined by a specification document (for example, the C programming language is specified by an ISO Standard), while other languages (such as Perl) have a dominant implementation that is treated as a reference. |
Revision as of 18:30, 4 June 2015
A programming language is a formal constructed language designed to communicate instructions to a machine, particularly a computer.
Programming languages can be used to create programs to control the behavior of a machine or to express algorithms.
The earliest programming languages preceded the invention of the digital computer and were used to direct the behavior of machines such as Jacquard looms and player pianos.
Thousands of different programming languages have been created, mainly in the computer field, and many more still are being created every year.
Many programming languages require computation to be specified in an imperative form (i.e., as a sequence of operations to perform), while other languages utilize other forms of program specification such as the declarative form (i.e. the desired result is specified, not how to achieve it).
The description of a programming language is usually split into the two components of syntax (form) and semantics (meaning).
Some languages are defined by a specification document (for example, the C programming language is specified by an ISO Standard), while other languages (such as Perl) have a dominant implementation that is treated as a reference.