Skip to content

Getting Started

Guillaume Martres edited this page Aug 12, 2016 · 28 revisions


Besides this wiki, the docs/ directory and the code itself, here are some useful resources:

Talks on Dotty

To get started:


Make sure that you are using Java 8 or later, the output of java -version should contain 1.8.

Compiling and running code

git clone
cd dotty
# Clone dotty-compatible stdlib. Needed for running the test suite.
git clone -b dotty-library scala-scala
# Compile code using Dotty
./bin/dotc tests/pos/HelloWorld.scala
# Run it with the proper classpath
./bin/dotr HelloWorld
Starting a REPL
You can’t perform that action at this time.