[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

Semantics (computer science) - Wikipedia

  (Redirected from Program semantics)

In programming language theory, semantics is the field concerned with the rigorous mathematical study of the meaning of programming languages.[1] It does so by evaluating the meaning of syntactically valid strings defined by a specific programming language, showing the computation involved. In such a case that the evaluation would be of syntactically invalid strings, the result would be non-computation. Semantics describes the processes a computer follows when executing a program in that specific language. This can be shown by describing the relationship between the input and output of a program, or an explanation of how the program will be executed on a certain platform, hence creating a model of computation.

Overview[edit]

The field of formal semantics encompasses all of the following:

It has close links with other areas of computer science such as programming language design, type theory, compilers and interpreters, program verification and model checking.

Approaches[edit]

There are many approaches to formal semantics; these belong to three major classes:

Apart from the choice between denotational, operational, or axiomatic approaches, most variations in formal semantic systems arise from the choice of supporting mathematical formalism.

Variations[edit]

Some variations of formal semantics include the following:

Describing relationships[edit]

For a variety of reasons, one might wish to describe the relationships between different formal semantics. For example:

It is also possible to relate multiple semantics through abstractions via the theory of abstract interpretation.

History[edit]

This section needs expansion. You can help by adding to it. (August 2013)

Robert W. Floyd is credited with founding the field of programming language semantics in Floyd (1967).[3]

See also[edit]

References[edit]

  1. ^ Joseph Goguen "Semantics of Computation" Conference on Category Theory Applied to Computation and Control, San Francisco, CA, 1974 pp 151-163
  2. ^ Andrzej Tarlecki, Rod Burstall, Joseph Goguen Some Fundamental Algebraic Tools for the Semantics of Computation Theoretical Computer Science 91(2) pp 239-264
  3. ^ Knuth, Donald E. "Memorial Resolution: Robert W. Floyd (1936–2001)" (PDF). Stanford University Faculty Memorials. Stanford Historical Society.

Further reading[edit]

Textbooks
Lecture notes

External links[edit]