Until artifacts are published, you'll need to compile Dotty yourself:
git clone https://github.com/lampepfl/dotty.git
cd dotty
sbt publishLocal
This is a normal sbt project, you can compile code with sbt compile
and run it
with sbt run
, sbt console
will start a Dotty REPL.
If compiling this example project fails, you probably have a global sbt plugin
that does not work with dotty, try to disable all plugins in
~/.sbt/0.13/plugins
and ~/.sbt/0.13
.
- Use sbt 0.13.11 (other versions are not supported).
- Configure your build like explained in build.sbt
Feel free to come chat with us on the Dotty gitter!