Jump to content

Euclid (programming language)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 24.17.152.161 (talk) at 06:11, 6 December 2005. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Euclid is an imperative programming language for writing verifiable programs. It was developed by Butler Lampson and associates at the Xerox PARC lab in the mid 1970s. It was originally designed for the Motorola 6809 microprocessor. James Cordy was the principal programmer for the first implementation of the compiler at the University of Toronto. It was considered innovative for the time; the compiler development team had a 2 million dollar budget over 2 years and was commissioned by the Defense Advanced Research Projects Agency of the U.S. Department of Defense and the Canadian Department of National Defence. It was used for a few years at I.P. Sharp Associates, Mitre Corporation, SRI International and various other international institutes for research in systems programming and secure software systems.

Euclid is descended from the Pascal programming language. Functions in Euclid are closed scopes, may not have side effects, and must explicity declare imports. Euclid also disallows gotos, floating point numbers, global assignments, nested functions and aliases, and none of the actual parameters to a function can refer to the same thing. Euclid implements modules as types. Descendents of Euclid include the Mesa programming language, Concurrent Euclid and the Turing programming language.