Skip to content

Usage with single files

Cédric Bastin edited this page Jun 18, 2014 · 3 revisions

The included script scripts/dy-scala should be used via its soft link dy-scalac. The purpose of the script is to inject the additional compiler phase during compilation of the scala files.

To launch a new compilation of a file with the modified compiler, use the command:
./dy-scalac ../MyFile.scala

The compilation generates the usual class files which can be executed using the scala command: scala mypackage.MyObject

Clone this wiki locally