A programming language uses an artificial language which is also known as a formal language in computer science. This language contains a set of symbols, and it is designed to communicate commands to a computer. It can be used to create programs that coordinate the way that a device behaves, and to express certain algorithms.
The symbols and tokens that are used to create the alphabet of a programming language form strings which are considered to be well-formed formulas or words. The first artificial languages appeared before the invention of computers, and they were used to control the way that machines like player pianos and Jacquard looms acted. These days, thousands of these languages are created each year, especially in the computer field. However, they have different functions, as some of them require computation in an imperative form, and others use forms which involve that it doesn’t matter how the desired result is achieved. So, they don’t use a specified method of obtaining a result.
In order to describe a programming language, it is necessary to analyze two components, syntax and semantics. The syntax refers to the form of the language, while the semantics reveal its meaning. One of the differences that exist between languages is that some of them are characterized by a certain document, while others integrate a dominant implementation which is treated as a point of reference. For example, unlike the Perl language, the C programming language is defined by an ISO Standard.
Programs are specifications of an algorithm or a computation, and they are created by programming languages which can be seen as a notation under these circumstances. Therefore, computers are able to perform by controlling certain devices such as robots, printers, disk drivers, and so on and so good. Some authors don’t consider that using the expression “programming language” is adequate for all the artificial languages. Furthermore, they believe that it should be related only to those languages that can relate to all possible algorithms.
A specific language describes and defines a computation on some abstract machine or device, and in the majority of practical contexts it implies a computer. Moreover, using a computer represents the only method that people can use in order to learn and study programming languages. A full specification for a programming language involves a description of a processor or a machine for that language, so it determines the characteristics of the device that it is being used for.