 A programming language is a formal language, which comprises a set of instructions used to produce various kinds of output. Programming languages are used to create programs that implement specific algorithms. Most programming languages consist of instructions for computers, although there are programmable machines that use a limited set of specific instructions, rather than the general programming languages of modern computers. Early ones preceded the invention of the digital computer, the first probably being the automatic flute player described in the 9th century by the brothers Musa in Baghdad, during the Islamic Golden Age.One from the early 1800s, programs were used to direct the behavior of machines such as jackard looms, music boxes and player pianos.To however, their programs such as a player pianos scrolls could not produce different behavior in response to some input or condition. 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 use other forms of programmed specifications 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. Some languages have both, with the basic language defined by the standard and extensions taken from the dominant implementation being common.