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.

각주[편집]

  1. [“The main features of CPL” (PDF). comjnl.oxfordjournals.org. 2015년 8월 27일에 확인함. ]
  2. “Clive Feather on CPL and BCPL”. Lysator.liu.se. 2013년 8월 18일에 확인함. 
  3. Peter Norvig. “Prescient but Not Perfect: A Look Back at a 1966 Scientific American Article on Systems Analysis”. Blogs.scientificamerican.com. 2013년 8월 18일에 확인함.