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:

    As writers become more numerous, it is natural for readers to become more indolent; whence must necessarily arise a desire of attaining knowledge with the greatest possible ease.
    Oliver Goldsmith (1728–1774)

    You can’t write about people out of textbooks, and you can’t use jargon. You have to speak clearly and simply and purely in a language that a six-year-old child can understand; and yet have the meanings and the overtones of language, and the implications, that appeal to the highest intelligence.
    Katherine Anne Porter (1890–1980)