Difference between revisions of "Download Clean"

From Clean
Jump to navigationJump to search
m
Line 41: Line 41:
 
=== Latest development release ===
 
=== Latest development release ===
 
{|border="1"
 
{|border="1"
| Clean + iTasks 31 October 2013 (Intel, 64bit) || [https://www.dropbox.com/s/6nnt4ia150dlvuu/clean-itasks-20131031.tar.gz clean-itasks-20131031.tar.gz]
+
| Clean + iTasks (31 Oct. 2013; Intel, 64bit) || [https://www.dropbox.com/s/6nnt4ia150dlvuu/clean-itasks-20131031.tar.gz clean-itasks-20131031.tar.gz]
 
|}
 
|}
  
Line 56: Line 56:
 
=== Latest development releases ===
 
=== Latest development releases ===
 
{|border="1"
 
{|border="1"
| Clean + iTasks 31 October 2013 (Intel, 64bit) || [https://www.dropbox.com/s/nkqzgq5budm9w2t/clean-itasks-20131031.zip clean-itasks-20131031.zip]
+
| Clean + iTasks (31 Oct. 2013; Intel, 64bit) || [https://www.dropbox.com/s/nkqzgq5budm9w2t/clean-itasks-20131031.zip clean-itasks-20131031.zip]
 
|-
 
|-
| Clean + iTasks 28 October 2013 (Intel, 64bit) || [https://www.dropbox.com/s/2jo1n82hldoqqib/clean-itasks-20131028.zip clean-itasks-20131028.zip]
+
| Clean + iTasks (28 Oct. 2013; Intel, 64bit) || [https://www.dropbox.com/s/2jo1n82hldoqqib/clean-itasks-20131028.zip clean-itasks-20131028.zip]
 
|}
 
|}
  

Revision as of 09:33, 31 October 2013

Clean is available for Windows (32 and 64 bit), Linux (32 and 64 bit) and Mac OS X (64 bit only).

The latest stable release is Clean 2.4.

Clean 2.4 License

Clean is available under a dual license. Users can choose which of these two licenses they wish to operate under:

  1. The Simplified BSD License applies to the libraries, runtime system and examples, the LGPL to the rest.
  2. A commercial license.

For details see: [1]

Windows

Latest stable release

Clean 2.4 with IDE and libraries (Intel, 32bit) Clean_2.4.zip - Clean_2.4.7z
Clean 2.4 with IDE and libraries (Intel, 64bit) Clean_2.4_64.zip - Clean_2.4_64.7z

Latest experimental release (for iTasks 10.8)

There is an experimental release (11.2M) of Clean which is needed to create applications using the latest version of the ITasks-libary.

See the 'Getting Started' section on the ITasks-page on how to get started using iTasks.

Linux

Latest stable release

Clean 2.4 with libraries (Intel, 32bit) clean2.4.tar.gz
Clean 2.4 with libraries (Intel, 64bit) clean2.4_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.

Latest development release

Clean + iTasks (31 Oct. 2013; Intel, 64bit) clean-itasks-20131031.tar.gz

New in this release is the cpm command-line tool, which acts as a light-weight, command-line based version of the CleanIDE.

Mac OS X

Latest stable release

Clean 2.4 with libraries (Intel, 64bit) clean2.4.zip

This is a command-line version, similar to the linux version. Apple's developer tool XCode should be installed first.

Latest development releases

Clean + iTasks (31 Oct. 2013; Intel, 64bit) clean-itasks-20131031.zip
Clean + iTasks (28 Oct. 2013; Intel, 64bit) clean-itasks-20131028.zip

Source code

Windows Complete sources Clean2.4Sources.zip - Clean2.4Sources.7z
Linux Complete sources Clean2.4Sources.tar.gz
Linux Bootstrap from intermediate ABC files. 32-bit. Does not contain all sources. clean2.4_boot.tar.gz
Linux Bootstrap from intermediate ABC files. 64-bit. Does not contain all sources. clean2.4_64_boot.tar.gz
Mac OS X Bootstrap from intermediate ABC files. 64-bit. Does not contain all sources. clean2.4_boot.zip

Older releases

You can view the release history of older releases.

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:

  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!