Dear mac users. I've tested this installation method last friday and it worked:
Run this in a terminal: $ wget ftp://ftp.cs.ru.nl/pub/Clean/builds/macos-x64/clean-classic-macos-x64-latest.tgz | tar -x $ cd clean $ export CLEAN_HOME=$PWD $ make Clean is now installed. To use clean you have to do the following - Make sure CLEAN_HOME is set. If this is not the case clm can't find the compiler. You can set CLEAN_HOME by exporting it (as seen before) in your current shell or by adding the line to your .bashrc/.bash_profile whatever startup script for your shell. - Make sure $CLEAN_HOME/bin is in your $PATH. Same as one line up: using export. This step is not totally mandatory, you can also run it with the full path: e.g. $ cd ~/clean/examples $ ~/clean/bin/clm e -o e Compiling e Generating code for e Generating code for StdFile Generating code for StdString Generating code for StdReal Linking e ld: warning: option -s is obsolete and being ignored $ ./e [2,7,1,8,2,8,1,8,2,8,4,5,9,0,4,5,2,3,5,3,6,0,2,8,7,4,7,1,3,5,2,6,6,2,4,9,7,7,5,7,2,4,7,0,9,3,6,9,9,9,5,9,5,7,4,9,6,6,9,6,7,6,2,7,7,2,4,0,7,6,6,3,0,3,5,3,5,4,7,5,9,4,5,7,1,3,8,2,1,7,8,5,2,5,1,6,6,4,2,7,4,2,7,4,6,6,3,9,1,9,3,2,0,0,3,0,5,9,9,2,1,8,1,7,4,1,3,5,9,6,6,2,9,0,4,3,5,7,2,9,0,0,3,3,4,2,9,5,2,6,0,5,9,5,6,3,0,7,3,8,1,3,2,3,2,8,6,2,7,9,4,3,4,9,0,7,6,3,2,3,3,8,2,9,8,8,0,7,5,3,1,9,5,2,5,1,0,1,9,0] Execution: 0.00 Garbage collection: 0.00 Total: 0.00 If you want to compile a clean program go to the directory in via the terminal and use clm. type $ clm -h for a manual on how to use clm. Most of the time you will only need to use: clm MAINMODULE -o MAINMODULE where MAINMODULE is the file containing the Start line without .icl extension. When clm is finished it will have placed a binary in the folder that you can run. I hope this helps. It is true that this information is not all in the README. The thing about CLEAN_HOME is missing for unknown reasons. Best, Mart On Fri, Sep 07, 2018 at 10:51:31AM +0200, Thomas de Haer wrote: > Dear Sir or Madam, > > I downloaded the files necessary to install Clean on the mac. It also states > that I need to have Xcode installed first. I’ve done that but then I have no > idea what to do with the files of Clean and how to link it with Xcode. > Basically after downloading the files I have no idea what to do next. > Hopefully you can help me! > > Regards, > > Thomas de Haer > _______________________________________________ > clean-list mailing list > [email protected] > https://mailman.science.ru.nl/mailman/listinfo/clean-list
signature.asc
Description: PGP signature
_______________________________________________ clean-list mailing list [email protected] https://mailman.science.ru.nl/mailman/listinfo/clean-list
