diff options
author | Vlad Ureche <vlad.ureche@gmail.com> | 2014-01-23 23:18:20 +0100 |
---|---|---|
committer | Vlad Ureche <vlad.ureche@gmail.com> | 2014-01-23 23:18:20 +0100 |
commit | 426128d3faa646d5c21325cdadf8f3bed04d2cec (patch) | |
tree | 8f1dab5563e0126b0ce4ed0bdba5ef49805ac089 | |
parent | 4b68d181cc216bc60c81562b168ba85999a59350 (diff) | |
download | dotty-426128d3faa646d5c21325cdadf8f3bed04d2cec.tar.gz dotty-426128d3faa646d5c21325cdadf8f3bed04d2cec.tar.bz2 dotty-426128d3faa646d5c21325cdadf8f3bed04d2cec.zip |
More nitpicking
-rw-r--r-- | examples/hello.scala | 5 | ||||
-rw-r--r-- | readme.md | 12 |
2 files changed, 12 insertions, 5 deletions
diff --git a/examples/hello.scala b/examples/hello.scala new file mode 100644 index 000000000..87e0b1e5e --- /dev/null +++ b/examples/hello.scala @@ -0,0 +1,5 @@ +package hello + +object world extends App { + println("hello dotty!") +} @@ -7,8 +7,9 @@ The experimental compiler for a Scala dialect based on DOT. ``` sbt compile sbt run + sbt test ``` -The tests (`sbt test`) don''t work yet. +At least half of the tests fail, we need to diagnose them. ### To use the Scala IDE: @@ -20,7 +21,8 @@ Notes: * 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) + * `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` |