Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Code Block
borderStylesolid
$$> cd ${HSCALA_HOME}/examples
$$> hscalac primers/helloworld/HelloWorldApp.scala
$$> hscala primers.helloworld.HelloWorldApp
Hello World

The example first compiles the HelloWorldApp.scala file and then runs the program to produce the "Hello World" output on the console.
Similarly, you can compile and run the other examples provided in your the distribution or your own examples.

...

Code Block
borderStylesolid
$$> hscala -help
Usage: hscala [jvm-options] <HS-App-class> [arguments]
 where HS specific options include: 
  -Dhs.places=<num-places>:<threads-per-place> e.g. 2:4
  -Dhs.fj=true/false
  -Dhs.time=true/false
  -Dhs.stats=true/false
  -Dhs.threadBindingDiagnostics=true/false

...