The current release of CnC-Scala has been tested with Scala version 2.9.1.
You will need to have the scalac and scala commands available in your path.
Download the CnC-Scala distribution and unzip the contents.
You should have the following file: cnc
Code Block | ||
---|---|---|
| ||
cnc-scala |
...
|- readme.txt |
...
|- |
...
bin |- cnc_scala_compile |
...
|- cnc_scala_run |
...
|- cnc_scala_translate |
...
|- lib: |
...
|- cnc-runtime-0.1.jar |
...
|- jsr166y-1.7.0.jar |
...
|- examples: |
...
|- Cholesky/* |
...
|- FindPrimes/* |
...
|- LUDecomposition/* |
...
|- NQueens/* |
...
|- PartitionString/* |
Set the CNC_SCALA_HOME environment variable to point to the cnc-scala directory.
Add ${CNC_SCALA_HOME}/bin to your path.
...