Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Kaleidoscope

< >

Kaleidoscope is a programming language created in 1994.

#2256on PLDB 30Years Old

The Kaleidoscope programming language is a constraint programming language embedding constraints into an imperative object-oriented language. It adds keywords always, once, and assert..during (formerly while..assert) to make statements about relational invariants. Objects have constraint constructors, which are not methods, to enforce the meanings of user-defined datatypes. Read more on Wikipedia...


Example from Wikipedia:
always: temperature = mercury.height / scale; always: white rectangle( thermometer ); always: grey rectangle( mercury ); always: display number( temperature ); while mouse.button = down do mercury.top = mouse.location.y; end while;

View source

- Build the next great programming language About Acknowledgements Extensions Day 630 Donate feedback@pldb.io