Run Calcit
There are several modes to run Calcit.
Eval
cr -e 'println "Hello world"'
which is actually:
cr --eval 'println "Hello world"'
Run program
For a local compact.cirru
file, run:
cr
by default, Calcit has watcher launched. If you want to run without a watcher, use:
cr -1
Generating JavaScript
cr --emit-js
Generating IR
cr --emit-ir