Clean is available for Windows and Linux and for 32-bit and 64-bit processors. The latest stable release is Clean 2.3.
Latest stable release
|Clean 2.3 with IDE and libraries (Intel, 32bit)||Clean_2.3.zip - Clean_2.3.7z|
|Clean 2.3 with IDE and libraries (Intel, 64bit)||Clean_2.3_64.zip - Clean_2.3_64.7z|
Latest experimental release (for Haskell Front End)
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. 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:
- Unpack the downloaded ZIP file to your destination of choice
- Open CleanIDE.exe, located on the top level of the folder
- Choose in the prompt if you would like to associate files with the Clean IDE
- Click File > Open ... and browse to the Examples folder
- 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!
Latest experimental release (for iTasks 10.8)
See the 'Getting Started' section on the ITasks-page on how to get started using iTasks.
Latest stable release
|Clean 2.3 with libraries (Intel, 32bit)||clean2.3.tar.gz|
|Clean 2.3 with libraries (Intel, 64bit)||clean2.3_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 that 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.
|Windows||Complete sources||Clean2.3Sources.zip - Clean2.3Sources.7z|
|Linux||Bootstrap from intermediate ABC files. 32-bit. Does not contain all sources.||clean2.3_boot.tar.gz|
|Linux||Bootstrap from intermediate ABC files. 64-bit. Does not contain all sources.||clean2.3_64_boot.tar.gz|
You can view the release history of older releases.