Stéphane Micheloud | 11 Jan 18:18
Favicon

[ANN] Beta version of Scala 2


We'd like to announce availability of the BETA version of Scala 2,
a new implementation of the Scala programming language.

The Scala 2 compiler has been rewritten from scratch in Scala itself.
It compiles more or less the same language as the old one.

Changes between Scala version 1.0 and 2.0 include:

     * There are four new keywords.
     * Newlines can now be used as statement separators,
       making semicolons optional.
     * Some old syntax constructs are no longer legal.
     * The recommended syntax of selftype annotations has changed.
     * The implicit conversion rules from methods to values have changed.
     * Getters and setters can now be generated for class parameters.
     * Visibility of classes and their members can now be restricted
       in more finegrained ways.
     * The model of mixin composition has changed.
     * Views have been replaced by a new concept of implicit parameters.
     * Typing rules for pattern matching have been relaxed.

Please refer to the following document for a detailed description
of the changes:

      http://scala.epfl.ch/nsc/files/Changes.pdf

For further information and downloads, please visit:

      http://scala.epfl.ch/

======================================================================
Martin Odersky and the Scala team,
Swiss Federal Institute of Technology, Lausanne (EPFL).


Gmane