CLU


Also found in: Dictionary, Acronyms, Wikipedia.

CLU

(language)
(CLUster) An object-oriented programming language developed at MIT by Liskov et al in 1974-1975.

CLU is an object-oriented language of the Pascal family designed to support data abstraction, similar to Alphard. It introduced the iterator: a coroutine yielding the elements of a data object, to be used as the sequence of values in a for loop.

A CLU program consists of separately compilable procedures, clusters and iterators, no nesting. A cluster is a module naming an abstract type and its operations, its internal representation and implementation. Clusters and iterators may be generic. Supplying actual constant values for the parameters instantiates the module.

There are no implicit type conversions. In a cluster, the explicit type conversions 'up' and 'down' change between the abstract type and the representation. There is a universal type 'any', and a procedure force[] to check that an object is a certain type. Objects may be mutable or immutable.

Exceptions are raised using 'signal' and handled with 'except'. Assignment is by sharing, similar to the sharing of data objects in Lisp. Arguments are passed by call-by-sharing, similar to call-by-value, except that the arguments are objects and can be changed only if they are mutable. CLU has own variables and multiple assignment.

See also Kamin's interpreters, clu2c.

["CLU Reference Manual", Barbara Liskov et al, LNCS 114, Springer 1981].

E-mail: Paul R. Johnson <prj@pm-prj.lcs.mit.edu>.

Versions for Sun and VAX/VMS. Portable version.
References in periodicals archive ?
Business owners need our help," by Bob Herman, CLU, May, p.
A partnership led by civic leaders such as City Councilmember Dennis Gillette, a former vice president at CLU, City Manager Scott Mimick, and the Conejo Recreation and Park Department (CRPD) board executive director, Jim Friedlq was formed by the university, city, and CPRD.
If the CLU stops ticking, but the CLU battery indicator lights up, there is hope.
Lucas Gums scored 7 of his 10 points for CLU during the run.
Rocco CLU, ChFC: a short profile by and about the honoree:
The new mutuality: How social currency could reinvent life insurance," by Maria Umbach, MBA, CLU, Sept.
Sladek as the sixth president is an important step for CLU given the progress that the university is making both academically and physically.
Gary Stemple, CFP, CLU, CRPC commented on the recognition: "This is quite an honor for me.
robust variable annuities," Don Mallavia, CLU, CMFC, Sept.
NEW YORK -- New York Life Insurance Company announced today that Rick Madan, CLU has been named senior vice president of the Northeastern Agencies.
com/ WebSeminars, and learn from producers Lou Pierce, CLU, E.
Linsday, CLU, ChFC, RFC, AEP, principal of Planned Estate Services in Westlake Village, CA; -- President-elect: James J.