Some examples are provided in the standard distribution. Each example is followed by a Makefile
which provides the commands to translate (i.e. generate stub code) the CnC graph, compile the generated and user code, and finally run the program. Running make all
should run each of these steps in the examples.
Once successfully installed, please refer to the examples on how to write CnC-Scala programs. The two simplest examples to get started are:
These are steps required to write a CnC-Scala program from scratch:
cnc_scala_translate
commandcnc_scala_compile
commandcnc_scala_run
command