A demo app demonstrating Scala 3 features.
This demonstrates the following Scala 3 features:
- Scala 3 compiler
- sbt build tool
- Java 11 SDK
- VsCode (Metals extension) to browse through the source code
If you are on MacOSX and have brew installed, you can install the tools via the following:
brew install scala sbt openjdk@11
This is a normal sbt project. You can compile code with sbt compile
. For more information on the sbt-dotty plugin, see the
scala3-example-project.
You can run it with sbt run
, and sbt console
will start a Scala 3 REPL.