Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

CLU

< >

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

#825on PLDB 49Years Old
Homepage · Wikipedia

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 Example Token
Strings "Hello world" "
Print() Debugging stream$putl

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0