aboutsummaryrefslogblamecommitdiff
path: root/readme.md
blob: b44bc23334257c4b2372589b6c4cb3ba3f15fb89 (plain) (tree)
1
2
3
4
5
6
7
8
9


     





                                                           
          
   
                                                          








                                                        

                                        




                                                                                                          
dotty
=====

The experimental compiler for a Scala dialect based on DOT.

### To get started:
```
  sbt compile
  sbt run
  sbt test
```
At least half of the tests fail, we need to diagnose them.


### To use the Scala IDE:
```
  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`)
   * then go to `Run Configurations` > `Main$` > `Arguments` and add `${project_loc}/examples/hello.scala`