Download Clean: Difference between revisions

From Clean
Jump to navigationJump to search
No edit summary
No edit summary
 
(73 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
Clean is available for [[#Windows]] (32 and 64 bit), [[#Linux]] (32 and 64 bit) and [[#Mac OS X]] (64 bit only).
Clean is available for [[#Windows]] (32 and 64 bit), [[#Linux]] (32 and 64 bit (amd64 and ARM)) and [[#Mac OS X]] (64 bit only).


The latest stable release is [[Clean 2.4]].
The latest stable release is Clean 3.1. The use of [[#Latest iTask and Clean Releases]] releases is required for [[iTasks]].
== Clean 2.4 License ==


Clean is available under a dual license. Users can choose which of these two
Using clean on Linux and MacOS is a bit different than on Windows ([[*NIX Instructions]]).
licenses they wish to operate under:


# The Simplified BSD License applies to the libraries, runtime system and examples, the LGPL to the rest.
== Clean 3.1 (Stable) ==
# A commercial license.


For details see the [http://clean.cs.ru.nl/download/Clean24/CleanLicenseConditions.txt Clean License Conditions]
=== License ===


== Windows ==
Clean is available under the Simplified BSD License.
=== Latest stable release ===
 
{|border="1"
For details see the [https://ftp.cs.ru.nl/Clean/Clean31/CleanLicenseConditions.txt Clean License Conditions]
| 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]
|}


== Linux ==
=== Windows ===
=== Latest stable release ===
{|border="1"
{|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 3.1 with IDE and libraries (Intel, 32bit) || [https://ftp.cs.ru.nl/Clean/Clean31/windows/Clean_3.1_32.zip Clean_3.1_32.zip] - [https://ftp.cs.ru.nl/Clean/Clean31/windows/Clean_3.1_32.7z Clean_3.1_32.7z]
|-
|-
| 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]
| Clean 3.1 with IDE and libraries (Intel, 64bit) || [https://ftp.cs.ru.nl/Clean/Clean31/windows/Clean_3.1_64.zip Clean_3.1_64.zip] - [https://ftp.cs.ru.nl/Clean/Clean31/windows/Clean_3.1_64.7z Clean_3.1_64.7z]
|}
|}


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.
=== Linux ===
Running Clean on Linux is a little different than running Clean on Windows (see [[*NIX Instructions]] for details).


=== Latest development releases ===
{|border="1"
{|border="1"
| Clean + iTasks (20 Nov. 2014; Intel, 64bit) || [https://www.dropbox.com/s/n8bm3g35qo3x0pp/clean-itasks-20141120.tar.gz clean-itasks-20141120.tar.gz]
| Clean 3.1 with libraries (Intel, 32bit) || [https://ftp.cs.ru.nl/Clean/Clean31/linux/clean3.1_32.tar.gz clean3.1_32.tar.gz]
|-
|-
| Clean + iTasks (19 Nov. 2014; Intel, 64bit) || [https://www.dropbox.com/s/waxcn4skp1z1t8a/clean-itasks-20141119.tar.gz clean-itasks-20141119.tar.gz]
| Clean 3.1 with libraries (Intel, 64bit) || [https://ftp.cs.ru.nl/Clean/Clean31/linux/clean3.1_64.tar.gz clean3.1_64.tar.gz]
|-
|-
| Clean + iTasks (1 Sep. 2014; Intel, 64bit) || [https://www.dropbox.com/s/np3g1vuc4hjgi09/clean-itasks-20140901.tar.gz clean-itasks-20140901.tar.gz]
| Clean 3.1 with libraries (ARM, 64bit) || [https://ftp.cs.ru.nl/Clean/Clean31/linux/clean3.1_64_arm.tar.gz clean3.1_64_arm.tar.gz]
|-
| Clean + iTasks (18 Jun. 2014; Intel, 64bit) || [https://www.dropbox.com/s/yn3r212opbyrekf/clean-itasks-20140618.tar.gz clean-itasks-20140618.tar.gz]
|-
| Clean + iTasks (4 Apr. 2014; Intel, 64bit) || [https://www.dropbox.com/s/0veywjdu4os1ul6/clean-itasks-20140404.tar.gz clean-itasks-20140404.tar.gz]
|-
| Clean + iTasks (5 Dec. 2013; Intel, 64bit) || [https://www.dropbox.com/s/ywrhwmbt64kxrow/clean-itasks-20131205.tar.gz clean-itasks-20131205.tar.gz]
|-
| Clean + iTasks (26 Nov. 2013; Intel, 64bit) || [https://www.dropbox.com/s/x0iayzwq73f9wsa/clean-itasks-20131126.tar.gz clean-itasks-20131126.tar.gz]
|-
| Clean + iTasks (20 Nov. 2013; Intel, 64bit) || [https://www.dropbox.com/s/9nfbmq8e1jdbrw4/clean-itasks-20131120.tar.gz clean-itasks-20131120.tar.gz]
|-
| Clean + iTasks (8 Nov. 2013; Intel, 64bit) || [https://www.dropbox.com/s/xuf5mfhah4wyvu5/clean-itasks-20131108.tar.gz clean-itasks-20131108.tar.gz]
|-
| Clean + iTasks (6 Nov. 2013; Intel, 64bit) || [https://www.dropbox.com/s/srj7zcnkcdujs8x/clean-itasks-20131106.tar.gz clean-itasks-20131106.tar.gz]
|-
| Clean + iTasks (1 Nov. 2013; Intel, 64bit) || [https://www.dropbox.com/s/kppxwg7jdvz4ot2/clean-itasks-20131101.tar.gz clean-itasks-20131101.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]
|}
|}


New in this release is the <tt>cpm</tt> command-line tool, which acts as a light-weight, command-line based version of the CleanIDE and is preferred over <tt>clm</tt>.
=== Mac OS X ===
 
This is a command-line version, similar to the linux version. Apple's developer tool XCode should be installed first.  
Scripts for building your own release from scratch can be found [https://svn.cs.ru.nl/repos/clean-tools/trunk/build/Linux/ on Subversion].


== Mac OS X ==
=== Latest stable release ===
{|border="1"
{|border="1"
| Clean 2.4 with libraries (Intel, 64bit) || [http://clean.cs.ru.nl/download/Clean24/macosx/clean2.4.zip clean2.4.zip]
| Clean 3.1 with libraries (Intel, 64bit) || [https://ftp.cs.ru.nl/Clean/Clean31/macosx/clean3.1.zip clean3.1.zip]
|}
|}


This is a command-line version, similar to the linux version. Apple's developer tool XCode should be installed first.
=== Source code ===
 
=== Latest development releases ===
{|border="1"
{|border="1"
| Clean + iTasks (8 Sep. 2014; Intel, 64bit) || [https://www.dropbox.com/s/auma1yz5l0cikt8/clean-itasks-20140908.zip clean-itasks-20140908.zip]
| Windows || Complete sources  || [https://ftp.cs.ru.nl/Clean/Clean31/windows/Clean3.1Sources.zip Clean3.1Sources.zip] - [https://ftp.cs.ru.nl/Clean/Clean31/windows/Clean3.1Sources.7z Clean3.1Sources.7z]
|-
| Clean + iTasks (1 Sep. 2014; Intel, 64bit) || [https://www.dropbox.com/s/uba1r9e46c0r2k4/clean-itasks-20140901.zip clean-itasks-20140901.zip]
|-
|-
| Clean + iTasks (3 Apr. 2014; Intel, 64bit) || [https://www.dropbox.com/s/5uzzqm21b8ikpi9/clean-itasks-20140403.zip clean-itasks-20140403.zip]
| Linux || Complete sources || [https://ftp.cs.ru.nl/Clean/Clean31/linux/Clean3.1Sources.tar.gz Clean3.1Sources.tar.gz]
|-
|-
| Clean + iTasks (26 Nov. 2013; Intel, 64bit) || [https://www.dropbox.com/s/pqd4kkbgzj0cr0j/clean-itasks-20131126.zip clean-itasks-20131126.zip]
| Linux || Bootstrap from intermediate ABC files. 32-bit. Does not contain all sources. || [https://ftp.cs.ru.nl/Clean/Clean31/linux/clean3.1_32_boot.tar.gz clean3.1_32_boot.tar.gz]
|-
|-
| Clean + iTasks (20 Nov. 2013; Intel, 64bit) || [https://www.dropbox.com/s/atmir207iy0acmn/clean-itasks-20131120.zip clean-itasks-20131120.zip]
| Linux || Bootstrap from intermediate ABC files. 64-bit. Does not contain all sources. || [https://ftp.cs.ru.nl/Clean/Clean31/linux/clean3.1_64_boot.tar.gz clean3.1_64_boot.tar.gz]
|-
| Clean + iTasks (18 Nov. 2013; Intel, 64bit) || [https://www.dropbox.com/s/kk6sllntgr0pscu/clean-itasks-20131118.zip clean-itasks-20131118.zip]
|-
| Clean + iTasks (8 Nov. 2013; Intel, 64bit) || [https://www.dropbox.com/s/njhitd1oqs3umnm/clean-itasks-20131108.zip clean-itasks-20131108.zip]
|-
| Clean + iTasks (6 Nov. 2013; Intel, 64bit) || [https://www.dropbox.com/s/j4ys4emplmro0i1/clean-itasks-20131106.zip clean-itasks-20131106.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 Oct. 2013; Intel, 64bit) || [https://www.dropbox.com/s/2jo1n82hldoqqib/clean-itasks-20131028.zip clean-itasks-20131028.zip]
|}
|}


Scripts for building your own release from scratch can be found [https://svn.cs.ru.nl/repos/clean-tools/trunk/build/MacOSX/ on Subversion].
== Latest iTask and Clean Releases ==
 
The latest versions of Clean and Clean libraries, including iTasks, are available in the package registry at https://clean-lang.org/.
The packages can be installed using the Nitrile package manager.
To install Nitrile follow the instructions at https://clean-lang.org/about.html#install.


== Source code ==
For developing iTasks applications within VSCode, a template (https://gitlab.com/clean-and-itasks/itasks-template) is available, which automatically configures a docker container providing a development environment.
{|border="1"
| 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/Clean24/linux/Clean2.4Sources.tar.gz Clean2.4Sources.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!

Latest revision as of 09:47, 11 June 2026

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

The latest stable release is Clean 3.1. The use of #Latest iTask and Clean Releases releases is required for iTasks.

Using clean on Linux and MacOS is a bit different than on Windows (*NIX Instructions).

Clean 3.1 (Stable)

License

Clean is available under the Simplified BSD License.

For details see the Clean License Conditions

Windows

Clean 3.1 with IDE and libraries (Intel, 32bit) Clean_3.1_32.zip - Clean_3.1_32.7z
Clean 3.1 with IDE and libraries (Intel, 64bit) Clean_3.1_64.zip - Clean_3.1_64.7z

Linux

Running Clean on Linux is a little different than running Clean on Windows (see *NIX Instructions for details).

Clean 3.1 with libraries (Intel, 32bit) clean3.1_32.tar.gz
Clean 3.1 with libraries (Intel, 64bit) clean3.1_64.tar.gz
Clean 3.1 with libraries (ARM, 64bit) clean3.1_64_arm.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 3.1 with libraries (Intel, 64bit) clean3.1.zip

Source code

Windows Complete sources Clean3.1Sources.zip - Clean3.1Sources.7z
Linux Complete sources Clean3.1Sources.tar.gz
Linux Bootstrap from intermediate ABC files. 32-bit. Does not contain all sources. clean3.1_32_boot.tar.gz
Linux Bootstrap from intermediate ABC files. 64-bit. Does not contain all sources. clean3.1_64_boot.tar.gz

Latest iTask and Clean Releases

The latest versions of Clean and Clean libraries, including iTasks, are available in the package registry at https://clean-lang.org/. The packages can be installed using the Nitrile package manager. To install Nitrile follow the instructions at https://clean-lang.org/about.html#install.

For developing iTasks applications within VSCode, a template (https://gitlab.com/clean-and-itasks/itasks-template) is available, which automatically configures a docker container providing a development environment.

Older releases

You can view the release history of older releases.