Measures Concepts
GitHub icon

CLU

CLU - Programming language

< >

CLU is a programming language created in 1975 by Barbara Liskov.

#404on PLDB 49Years Old

CLU is a programming language created at the Massachusetts Institute of Technology (MIT) by Barbara Liskov and her students between 1974 and 1975. While it did not find extensive use, it introduced many features that are used widely now, and is seen as a step in the development of object-oriented programming (OOP). Key contributions include abstract data types, call-by-sharing, iterators, multiple return values (a form of parallel assignment), type-safe parameterized types, and type-safe variant types. Read more on Wikipedia...


Example from hello-world:
start_up = proc () po: stream := stream$primary_output () stream$putl (po, "Hello World") end start_up
Example from Wikipedia:
complex_number = cluster is add, subtract, multiply, ... rep = record [ real_part: real, imag_part: real ] add = proc ... end add; subtract = proc ... end subtract; multiply = proc ... end multiply; ... end complex_number;

Language features

Feature Supported Token Example
Strings ✓ "
"Hello world"
Print() Debugging ✓ stream$putl

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout