The description of a programming language is usually split into the two components of syntax (form) and semantics (meaning), which are usually defined by a formal language.
Some languages are defined by a specification document (for example, the C programming language is specified by an ISO Standard). In contrast, other languages (such as Perl) have a dominant implementation that is treated as a reference.
Some languages have both, with the primary language defined by a standard and extensions taken from the dominant implementation being common.
Get Axel Arun’s stories in your inbox
Join Medium for free to get updates from this writer.
History
Early developments
Very early computers, such as Colossus, were programmed without the help of a stored program, by modifying their circuitry or setting banks of physical controls.
Slightly later, programs could be written in machine language, where the programmer writes each instruction in a numeric form the hardware can execute directly.
For example, the instruction to add the value in two memory locations might consist of 3 numbers: an "opcode" that selects the "add" operation, and two memory locations.
The programs, in decimal or binary form, were read in from punched cards, paper tape, magnetic tape, or toggled in on switches on the front panel of the computer.
Machine languages were later termed first-generation programming languages (1GL).
Refinement
The increased use of high-level languages introduced a requirement for low-level programming languages or system programming languages.
These languages, to varying degrees, provide facilities between assembly languages and high-level languages.
They can perform tasks requiring direct access to hardware facilities but still provide higher-level control structures and error-checking.