Download Clean

From Clean
Revision as of 12:10, 22 July 2010 by Thomas (talk | contribs)
Jump to navigationJump to search

Clean is available for multiple platforms and processors.

Windows

Latest stable release

Clean 2.2 with IDE and libraries (Intel, 32bit) Clean2.2.zip
Clean 2.2 with IDE and libraries (Intel, 64bit) Clean2.2_64.zip


Latest experimental release

There is an experimental release (9.3M) of Clean that accompanies the paper Exchanging Sources Between Clean and Haskell - A Double-Edged Front End for the Clean Compiler, by John van Groningen, Thomas van Noort, Peter Achten, Pieter Koopman, and Rinus Plasmeijer, accepted for publication in Jeremy Gibbons, editor, Proceedings of the 3rd Haskell Symposium, Haskell '10, Baltimore, MD, US. ACM Press, 2010.

Disclaimer: The implementation of the front end is work in progress. This beta release is far from complete and is not fully tested.

To compile and run your first Clean* and Haskell* programs, take the following steps:

  1. Unpack the downloaded ZIP file to your destination of choice
  2. Open CleanIDE.exe, located on the top level of the folder
  3. Choose in the prompt if you would like to associate files with the Clean IDE
  4. Click File > Open ... and browse to the Examples folder
  5. Open Main.prj and press CTRL + R to compile and run the project

The file Main.hs imports all the examples from the paper and runs several examples, feel free to experiment!


Linux

Latest stable release

Clean 2.2 with libraries (Intel, 32bit) Clean2.2.tar.gz
Clean 2.2 with libraries (Intel, 64bit) Clean2.2_64.tar.gz

Running Clean on Linux is a little different than running Clean on Clean on Windows or on a Clean on Mac. First of all, there is no IDE available, which means that you have to manage your projects using command line tools. The primary tool to run Clean on Linux is clm. This is a small wrapper tool around the compiler which checks which files have changed and need to be (re)compiled. It is basically a Clean-specific make replacement.

Additionally, there is a walkthrough available for compiling Clean 2.2 on 64bit Xubuntu.


Mac

Latest stable release

Clean 2.2 with IDE and libraries (PowerPC, 32bit) Clean2.2.zip


Source code

Windows and Mac Complete sources Clean2.2Sources.zip
Linux Complete sources Clean2.2Sources.tgz
Linux A distribution to bootstrap from intermediate ABC files. Does not contain all sources. See above releases. Clean2.2_boot.tar.gz


Older releases

You can view the Release History of older releases.