Skip to content

Getting Started

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

Documentation

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

Talks on Dotty

To get started:

Requirements

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 https://github.com/lampepfl/dotty.git
cd dotty
# Clone dotty-compatible stdlib. Needed for running the test suite.
git clone -b dotty-library https://github.com/DarkDimius/scala.git scala-scala
# Compile code using Dotty
./bin/dotc tests/pos/HelloWorld.scala
# Run it with the proper classpath
./bin/dotr HelloWorld
Starting a REPL
./bin/dotr
You can’t perform that action at this time.