File tree Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Original file line number Diff line number Diff line change
1
+ ../dist/bin
Original file line number Diff line number Diff line change @@ -34,10 +34,11 @@ <h1 id="is-there-scala-2-interop">Is there Scala 2 interop?</h1>
34
34
35
35
<h1 id="how-do-i-migrate-my-code-to-dotty">How do I migrate my code to Dotty?</h1>
36
36
<p>
37
- An automated rewriting tool is planned for Dotty, more on this to come.
37
+ The automated rewriting tool <a href="https://github.com/scalacenter/scalafix">scalafix</a>
38
+ is planned for Dotty.
38
39
Scala 2 sources can be compiled to some degree by issuing:
39
40
</p>
40
- <pre class="sourceCode bright"><code>./bin/ dotc -language:Scala2 file.scala</code></pre>
41
+ <pre class="sourceCode bright"><code>dotc -language:Scala2 file.scala</code></pre>
41
42
<p>when compiling your program.</p>
42
43
43
44
<h1 id="whos-working-on-it">Who’s working on it?</h1>
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ <h1 id="so-features">So, features?</h1>
21
21
<td>Implemented</td>
22
22
</tr>
23
23
<tr class="even">
24
- <td><a href="https://github.com/scala/scala.github.com/pull/491">@@ static methods and fields</a></td>
24
+ <td><a href="https://github.com/scala/scala.github.com/pull/491">@static methods and fields</a></td>
25
25
<td>Implemented</td>
26
26
</tr>
27
27
<tr class="odd">
Original file line number Diff line number Diff line change 2
2
<div class="centered questions">
3
3
4
4
<h1 id="getting-started">Try Dotty</h1>
5
- <p>Try it in your browser with <a href="https://scastie.scala-lang.org/?target=dotty">Scastie</a>.</p>
5
+ <p>If you are a Mac user, you can install Dotty with <a href="https://brew.sh/">brew</a>:</p>
6
+ <pre class="sourceCode bright"><code>brew install lampepfl/brew/dotty</code></pre>
6
7
8
+ <p>If you are a Linux or Windows user, download the <a href="https://github.com/lampepfl/dotty/releases">latest release</a>. Optionally add path of the folder <code>bin/</code> to the system environment variable <code>PATH</code>. </p>
9
+
10
+ <p>Now you can compile Scala source code:<p>
11
+ <pre class="sourceCode bright"><code>dotc hello.scala</code></pre>
12
+
13
+ <p>To start the RPEL, run: <code>dotr</code>.<p>
14
+
15
+ <p>Or, you can try Dotty in your browser with <a href="https://scastie.scala-lang.org/?target=dotty">Scastie</a>.</p>
7
16
8
17
<h1 id="getting-started-with-a-project">Create a Dotty Project</h1>
9
18
<p>The fastest way to create a new project in Dotty is using <a href="http://www.scala-sbt.org/">sbt (0.13.15+)</a>.</p>
You can’t perform that action at this time.
0 commit comments