Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Running the command will generate some Scala files. This is how the directory should look:

Code Block
PartitionStringFindPrimes:
  partitionstringfindprimes:
    PartitionStringFindPrimes.cnc
    PartitionStringBaseFindPrimesBase.scala
    PartitionStringGraphFindPrimesGraph.scala 
  PartitionStringCncDefinitionFindPrimesCncDefinition.scala

In short, these are what the files represent:

...

After providing the Step implementations and a Main class to run and launch the program, the directory should now have the following structure:

Code Block
PartitionStringFindPrimes:
  partitionstringfindprimes:
    PartitionStringFindPrimes.cnc
    PartitionStringBaseFindPrimesBase.scala
    PartitionStringGraphFindPrimesGraph.scala 
    PartitionStringMainFindPrimesMain.scala 
    UserPartitionStringStepsUserFindPrimesStep.scala 
  PartitionStringCncDefinitionFindPrimesCncDefinition.scala

Now, run the CnC-Scala compiler to compile the Scala files:
cnc_scala_compile

...