Difference between revisions of "Download Clean"

From Clean
Jump to navigationJump to search
m (Use HTTPS instead of FTP (more stable))
(106 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
Clean is available for multiple platforms and processors.
+
Clean is available for [[#Windows]] (32 and 64 bit), [[#Linux]] (32 and 64 bit) and [[#Mac OS X]] (64 bit only).
  
== Windows ==
+
The latest stable release is [[Clean 2.4]]. The use of development releases is required for iTasks.
=== Latest stable release ===
+
 
{|border="1"
+
== Clean 2.4 License ==
| Clean 2.2 with IDE and libraries (Intel, 32bit) || [http://clean.cs.ru.nl/download/Clean22/windows/Clean2.2.zip Clean2.2.zip]
+
 
|-
+
Clean is available under a dual license. Users can choose which of these two
| Clean 2.2 with IDE and libraries (Intel, 64bit) || [http://clean.cs.ru.nl/download/Clean22/windows/Clean2.2_64.zip Clean2.2_64.zip]
+
licenses they wish to operate under:
|}
 
  
 +
# The Simplified BSD License applies to the libraries, runtime system and examples, the LGPL to the rest.
 +
# A commercial license.
  
=== Latest experimental release (for Haskell Frontend) ===
+
For details see the [http://clean.cs.ru.nl/download/Clean24/CleanLicenseConditions.txt Clean License Conditions]
There is an experimental [[Media:A_Double-Edged_Front_End_for_the_Clean_Compiler_22072010.zip|release]] (9.3M) of Clean that accompanies the paper [http://www.cs.ru.nl/~thomas/publications/groj10-exchanging-sources-between.pdf 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.
+
== Clean and iTasks (Development) ==
 +
We provide automated nightly builds from the development branches in version control (a mix of git and subversion) of the various components that Clean consists of. We are constantly improving the quality control of these builds, but don't expect a perfectly stable system.
  
To compile and run your first Clean* and Haskell* programs, take the following steps:
+
All nightly builds are available from: https://ftp.cs.ru.nl/Clean/builds.
# Unpack the downloaded ZIP file to your destination of choice
 
# Open <tt>CleanIDE.exe</tt>, located on the top level of the folder
 
# Choose in the prompt if you would like to associate files with the Clean IDE
 
# Click <tt>File > Open ...</tt> and browse to the <tt>Examples</tt> folder
 
# Open <tt>Main.prj</tt> and press <tt>CTRL + R</tt> to compile and run the project
 
  
The file <tt>Main.hs</tt> imports all the examples from the paper and runs several examples, feel free to experiment!
+
At this moment the following packages are available:
  
=== Latest experimental release (for iTasks 10.8) ===
+
# clean-bundle-itasks-*: The most recent packaging of clean with everything that's needed to build iTasks applications included. These packages are only built for linux-x64, windows-x86 and macos-x64.
There is an experimental [[Media:Clean-iTasks-10.8.zip|release]] (11.2M) of Clean which is needed to create applications using the latest version of the [[ITasks]]-libary.  
+
# clean-classic-*: A 'classic' clean distribution similar to the 2.4 release and older. This package is built for linux (x86 and x64), windows (x86 and x64) and macos (x64).
  
See the 'Getting Started' section on the [[ITasks]]-page on how to get started using iTasks.
+
Beside the bundles, we are also packaging individual components (libraries and/or tools).
  
== Linux ==
+
If you want to get started with clean and iTasks quickly you can just download the following packages
=== Latest stable release ===
 
 
{|border="1"
 
{|border="1"
| Clean 2.2 with libraries (Intel, 32bit) || [http://clean.cs.ru.nl/download/Clean22/linux/Clean2.2.tar.gz Clean2.2.tar.gz]
+
| Windows (32 bit) || [https://ftp.cs.ru.nl/Clean/builds/windows-x86/clean-bundle-complete-windows-x86-latest.zip clean-bundle-complete-windows-x86-latest.zip]
 
|-
 
|-
| Clean 2.2 with libraries (Intel, 64bit) || [http://clean.cs.ru.nl/download/Clean22/linux/Clean2.2_64.tar.gz Clean2.2_64.tar.gz]
+
| Linux (64 bit) || [https://ftp.cs.ru.nl/Clean/builds/linux-x64/clean-bundle-complete-linux-x64-latest.tgz clean-bundle-complete-linux-x64-latest.tgz]
 +
|-
 +
| Mac OS X (64 bit) || [https://ftp.cs.ru.nl/Clean/builds/macos-x64/clean-bundle-complete-macos-x64-latest.tgz clean-bundle-complete-macos-x64-latest.tgz]
 
|}
 
|}
  
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 <tt>clm</tt>. 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 <tt>make</tt> replacement.
+
== Clean 2.4 (Stable) ==
 +
=== Windows ===
 +
{|border="1"
 +
| Clean 2.4 with IDE and libraries (Intel, 32bit) || [http://clean.cs.ru.nl/download/Clean24/windows/Clean_2.4.zip Clean_2.4.zip] - [http://clean.cs.ru.nl/download/Clean24/windows/Clean_2.4.7z Clean_2.4.7z]
 +
|-
 +
| Clean 2.4 with IDE and libraries (Intel, 64bit) || [http://clean.cs.ru.nl/download/Clean24/windows/Clean_2.4_64.zip Clean_2.4_64.zip] - [http://clean.cs.ru.nl/download/Clean24/windows/Clean_2.4_64.7z Clean_2.4_64.7z]
 +
|}
  
Additionally, there is a walkthrough available for compiling [[Clean2.2 on 64bit Xubuntu|Clean 2.2 on 64bit Xubuntu]].
+
=== Linux ===
 +
Running Clean on Linux is a little different than running Clean on Windows. 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 <tt>clm</tt>. 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 <tt>make</tt> replacement.
  
 +
{|border="1"
 +
| Clean 2.4 with libraries (Intel, 32bit) || [http://clean.cs.ru.nl/download/Clean24/linux/clean2.4.tar.gz clean2.4.tar.gz]
 +
|-
 +
| Clean 2.4 with libraries (Intel, 64bit) || [http://clean.cs.ru.nl/download/Clean24/linux/clean2.4_64.tar.gz clean2.4_64.tar.gz]
 +
|}
 +
 +
=== Mac OS X ===
 +
This is a command-line version, similar to the linux version. Apple's developer tool XCode should be installed first.
  
== Mac ==
 
=== Latest stable release ===
 
 
{|border="1"
 
{|border="1"
| Clean 2.2 with IDE and libraries (PowerPC, 32bit) || [http://clean.cs.ru.nl/download/Clean22/macintosh/Clean2.2.zip Clean2.2.zip]
+
| Clean 2.4 with libraries (Intel, 64bit) || [http://clean.cs.ru.nl/download/Clean24/macosx/clean2.4.zip clean2.4.zip]
 
|}
 
|}
  
 
+
=== Source code ===
== Source code ==
 
 
{|border="1"
 
{|border="1"
| Windows and Mac || Complete sources  || [http://clean.cs.ru.nl/download/Clean22/source/Clean2.2Sources.zip Clean2.2Sources.zip]
+
| Windows || Complete sources  || [http://clean.cs.ru.nl/download/Clean24/windows/Clean2.4Sources.zip Clean2.4Sources.zip] - [http://clean.cs.ru.nl/download/Clean24/windows/Clean2.4Sources.7z Clean2.4Sources.7z]
 
|-
 
|-
| Linux || Complete sources || [http://clean.cs.ru.nl/download/Clean22/source/Clean2.2Sources.tgz Clean2.2Sources.tgz]
+
| Linux || Complete sources || [http://clean.cs.ru.nl/download/Clean24/linux/Clean2.4Sources.tar.gz Clean2.4Sources.tar.gz]
 
|-
 
|-
| Linux || A distribution to bootstrap from intermediate ABC files. Does not contain all sources. See above releases. || [http://clean.cs.ru.nl/download/Clean22/linux/Clean2.2_boot.tar.gz Clean2.2_boot.tar.gz]
+
| Linux || Bootstrap from intermediate ABC files. 32-bit. Does not contain all sources. || [http://clean.cs.ru.nl/download/Clean24/linux/clean2.4_boot.tar.gz clean2.4_boot.tar.gz]
 +
|-
 +
| Linux || Bootstrap from intermediate ABC files. 64-bit. Does not contain all sources. || [http://clean.cs.ru.nl/download/Clean24/linux/clean2.4_64_boot.tar.gz clean2.4_64_boot.tar.gz]
 +
|-
 +
| Mac OS X || Bootstrap from intermediate ABC files. 64-bit. Does not contain all sources. || [http://clean.cs.ru.nl/download/Clean24/macosx/clean2.4_boot.zip clean2.4_boot.zip]
 
|}
 
|}
 
  
 
== Older releases ==
 
== Older releases ==
 
You can view the [[Release history|release history]] of older releases.
 
You can view the [[Release history|release history]] of older releases.
 +
 +
=== Experimental release for Haskell Front End ===
 +
There is an experimental [[Media:A_Double-Edged_Front_End_for_the_Clean_Compiler_22072010.zip|release]] (9.3M) of Clean that accompanies the paper [http://www.cs.ru.nl/~thomas/publications/groj10-exchanging-sources-between.pdf 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 <tt>CleanIDE.exe</tt>, located on the top level of the folder
 +
# Choose in the prompt if you would like to associate files with the Clean IDE
 +
# Click <tt>File > Open ...</tt> and browse to the <tt>Examples</tt> folder
 +
# Open <tt>Main.prj</tt> and press <tt>CTRL + R</tt> to compile and run the project
 +
 +
The file <tt>Main.hs</tt> imports all the examples from the paper and runs several examples, feel free to experiment!

Revision as of 22:25, 4 June 2018

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. The use of development releases is required for iTasks.

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 the Clean License Conditions

Clean and iTasks (Development)

We provide automated nightly builds from the development branches in version control (a mix of git and subversion) of the various components that Clean consists of. We are constantly improving the quality control of these builds, but don't expect a perfectly stable system.

All nightly builds are available from: https://ftp.cs.ru.nl/Clean/builds.

At this moment the following packages are available:

  1. clean-bundle-itasks-*: The most recent packaging of clean with everything that's needed to build iTasks applications included. These packages are only built for linux-x64, windows-x86 and macos-x64.
  2. clean-classic-*: A 'classic' clean distribution similar to the 2.4 release and older. This package is built for linux (x86 and x64), windows (x86 and x64) and macos (x64).

Beside the bundles, we are also packaging individual components (libraries and/or tools).

If you want to get started with clean and iTasks quickly you can just download the following packages

Windows (32 bit) clean-bundle-complete-windows-x86-latest.zip
Linux (64 bit) clean-bundle-complete-linux-x64-latest.tgz
Mac OS X (64 bit) clean-bundle-complete-macos-x64-latest.tgz

Clean 2.4 (Stable)

Windows

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

Linux

Running Clean on Linux is a little different than running Clean on Windows. 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.

Clean 2.4 with libraries (Intel, 32bit) clean2.4.tar.gz
Clean 2.4 with libraries (Intel, 64bit) clean2.4_64.tar.gz

Mac OS X

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

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

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!