CPL (프로그래밍 언어)

다중 패러다임 프로그래밍 언어

CPL(Combined Programming Language, 이전 명칭: Cambridge Programming Language)은 1960년대 초에 개발된 다중 패러다임 프로그래밍 언어이다.

설계

CPL(Combined Programming Language)[1]케임브리지 대학교 수학 연구소와 런던 대학교 컴퓨터 유닛이 1960년대에 공동 개발하였고, 이에 따라 CPL은 "케임브리지 플러스 런던"(Cambridge Plus London)이라는 별명을 얻었다.[2]

Peter Norvig가 공식화한 함수 MAX:[3]

Max(Items, ValueFunction) = value of§ (Best, BestVal) = (NIL, -∞)while Items do §(Item, Val) = (Head(Items), ValueFunction(Head(Items)))if Val > BestVal then (Best, BestVal) := (Item, Val)Items := Rest(Items) §⃒result is Best §⃒

참고 문헌

  • Collected papers of Christopher Strachey, section pertaining to CPL, archived at the Bodleian Library, Oxford; CSAC 71.1.80/C.136-C.184
  • D. W. Barron, J. N. Buxton, D. F. Hartley, E. Nixon, and C. Strachey. "The main features of CPL" The Computer Journal 6:2:134-143 (1963), available online.

각주