All languages

Language generations

The generation ladder describes abstraction height — how far a notation sits above the machine. It is a different question from paradigm (what a language does) and from family (what it descends from). Each tier's page records what qualifies a language as that generation, and which languages in this corpus carry the label.

“A programming language is low level when its programs require attention to the irrelevant.”

That sentence is the working definition behind these pages. A tier earns its number by deleting one specific kind of irrelevant work from the programmer's attention — encoding, then instruction selection, then procedure — which is also why the ladder stalls: once nothing irrelevant is left to delete, a new number adds a word rather than a capability.

1gl First-generation language historical

The instruction set of a particular processor written in its own numeric encoding: no translator stands between the program and the machine, and nothing in the notation survives a change of hardware.

machine-instruction-encodingno-translatorhardware-specificdirectly-executable

0 languages in this corpus

2gl Second-generation language historical

Symbolic mnemonics standing in for the machine instruction set, translated by an assembler. The mapping stays one-to-one, so the programmer still thinks in the processor's terms — just in readable ones.

mnemonic-mappingone-to-one-with-machinerequires-assemblerprocessor-family-specific

0 languages in this corpus

3gl Third-generation language

A procedural notation defined independently of any processor, translated by a compiler. The mapping to hardware is no longer one-to-one, which is what buys source portability and makes most general-purpose languages today third generation.

machine-independentcompiler-translatedprocedural-abstractionsource-portability

0 languages in this corpus

4gl Fourth-generation language historical

A notation that states the problem rather than the procedure for solving it, usually over a domain such as reports, queries, or forms. The tier is defined by delegating the how to the system — and the term was substantially a marketing label.

non-proceduralset-at-a-timedomain-specificprogram-generation

0 languages in this corpus

5gl Fifth-generation language historical

The hoped-for tier above declarative programming, where the system derives its own algorithm from constraints and a knowledge base. Associated with logic programming and the 1980s Japanese fifth-generation project; the ambition outran the results.

constraint-baseddeclarative-problem-statementinference-enginelogic-programming

0 languages in this corpus

The ladder is a canonical five, not a corpus-derived vocabulary — every tier has a page whether or not a language carries it. A tier with no members is a documented fact about this corpus, not a gap. Language entries are not tagged with a generation unless a source states the tier directly; the value is never derived from a language's year or paradigm.