CPL (programming language)

From Wikipedia for FEVERv2
Jump to navigation Jump to search

CPL (programming language)_table_infobox_0

CPLCPL (programming language)_table_caption_0
ParadigmCPL (programming language)_header_cell_0_0_0 Multi-paradigm:

procedural, imperative, structured, functionalCPL (programming language)_cell_0_0_1

Designed byCPL (programming language)_header_cell_0_1_0 Christopher Strachey et al.CPL (programming language)_cell_0_1_1
First appearedCPL (programming language)_header_cell_0_2_0 1963; 57 years ago (1963)CPL (programming language)_cell_0_2_1
Influenced byCPL (programming language)_header_cell_0_3_0
InfluencedCPL (programming language)_header_cell_0_4_0

CPL (Combined Programming Language) is a multi-paradigm programming language, that was developed in the early 1960s. CPL (programming language)_sentence_0

It is an early ancestor of the C language via the BCPL and B languages. CPL (programming language)_sentence_1

Design CPL (programming language)_section_0

CPL was developed initially at the Mathematical Laboratory at the University of Cambridge as the "Cambridge Programming Language" and later published jointly between Cambridge and the University of London Computer Unit as the "Combined Programming Language". CPL (programming language)_sentence_2

Christopher Strachey, David Barron and others were involved in its development. CPL (programming language)_sentence_3

(CPL was also nicknamed by some as "Cambridge Plus London" or "Christopher's Programming Language"). CPL (programming language)_sentence_4

The first paper describing it was published in 1963, while it was being implemented on the Titan Computer at Cambridge and the Atlas Computer at London. CPL (programming language)_sentence_5

It was heavily influenced by ALGOL 60, but instead of being extremely small, elegant and simple, CPL was intended for a wider application area than scientific calculations and was therefore much more complex and not as elegant as ALGOL 60. CPL (programming language)_sentence_6

CPL was a big language for its time. CPL (programming language)_sentence_7

CPL attempted to go beyond ALGOL to include industrial process control, business data processing and possibly some early command line games. CPL (programming language)_sentence_8

CPL was intended to allow low-level programming and high level abstractions using the same language. CPL (programming language)_sentence_9

However, CPL was only implemented very slowly. CPL (programming language)_sentence_10

The first CPL compiler was probably written about 1970, but the language never gained much popularity and seems to have disappeared without trace sometime in the 1970s. CPL (programming language)_sentence_11

BCPL (for "Basic CPL", although originally "Bootstrap CPL") was a much simpler language based on CPL intended primarily as a systems programming language, particularly for writing compilers; it was first implemented in 1967, prior to CPL's first implementation. CPL (programming language)_sentence_12

BCPL then led, via B, to the popular and influential C programming language. CPL (programming language)_sentence_13

Example CPL (programming language)_section_1

The function MAX as formulated by Peter Norvig: CPL (programming language)_sentence_14

(The closing symbol to match the opening symbol "§" is a "§" with a vertical stroke through it. CPL (programming language)_sentence_15

That symbol can be composed in Unicode as "§⃒", which is § (U+00A7, SECTION SIGN) composed with ⃒ (U+20D2, COMBINING LONG VERTICAL LINE OVERLAY), but it may not display correctly on your browser.) CPL (programming language)_sentence_16

Implementations CPL (programming language)_section_2

It is thought that CPL was never fully implemented in the 1960s, existing as a theoretical construct with some research work on partial implementations. CPL (programming language)_sentence_17

Peter Norvig has written (for Yapps, a Python compiler-compiler) a simple CPL to Python translator for modern machines. CPL (programming language)_sentence_18

See also CPL (programming language)_section_3

CPL (programming language)_unordered_list_0

Credits to the contents of this page go to the authors of the corresponding Wikipedia page: en.wikipedia.org/wiki/CPL (programming language).