Programming Language Specification - Semantics - Natural Language

Natural Language

Most widely-used languages are specified using natural language descriptions of their semantics. This description usually takes the form of a reference manual for the language. These manuals can run to hundreds of pages, e.g., the print version of The Java Language Specification, 3rd Ed. is 596 pages long.

The imprecision of natural language as a vehicle for describing programming language semantics can lead to problems with interpreting the specification. For example, the semantics of Java threads were specified in English, and it was later discovered that the specification did not provide adequate guidance for implementors.

Read more about this topic:  Programming Language Specification, Semantics

Famous quotes containing the words natural and/or language:

    “the San Marco Library,
    Whence turbulent Italy should draw
    Delight in Art whose end is peace,
    In logic and in natural law
    By sucking at the dugs of Greece.”
    —William Butler Yeats (1865–1939)

    “The language of excitement is at best picturesque merely. You must be calm before you can utter oracles.”
    —Henry David Thoreau (1817–1862)