The experimental compiler for a Scala dialect based on DOT.
sbt compile
sbt run
sbt test
At least half of the tests fail, we need to diagnose them.
sbt eclipse
Notes:
- You will need the Scala IDE for 2.11.0-M7
- There are 2 spurious version incompatibility warnings
- To run dotty in Eclipse:
- Navigate to
dotty.tools.dotc.Main
Run As...
>Scala Application
- then go to
Run Configurations
>Main$
>Classpath
>Bootstrap entries
:- add the Scala library (
Advanced...
>Add library...
>Scala library
) - add the dotty classfiles (
Add projects...
>[x] dotty
)
- add the Scala library (
- then go to
Run Configurations
>Main$
>Arguments
and add${project_loc}/examples/hello.scala
- Navigate to