github.com/scala/scala

Scala 2 compiler and standard library. Scala 2 bugs at https://github.com/scala/bug; Scala 3 at https://github.com/scala/scala3

Open this visualization on its own page →

Contributors

644

Lines of Code

170,692

From

2003-02-13

To

2020-12-22

About scala/scala

Scala is a general-purpose programming language that unifies object-oriented and functional programming paradigms on the Java Virtual Machine. This repository contains the Scala 2 compiler, standard library, and language specification. The project enables developers to write expressive, statically-typed code that compiles to JVM bytecode and interoperates seamlessly with existing Java libraries and frameworks.

The repository serves as the primary development home for Scala 2, with Scala 3 maintained in a separate repository. It includes the full compiler implementation written in Scala itself, a comprehensive standard library, and tooling for REPL interaction and code compilation. The build system uses sbt and supports bootstrapping, where the compiler is built using a previous stable version and then rebuilt using its own newly-compiled bytecode to ensure self-hosting capability.

Contributing to Scala requires signing the Scala CLA and following established coding guidelines. The project maintains multiple maintenance branches for different Scala versions, with most contributions targeting 2.13.x while 2.12.x receives only minimal updates. The Scala CI automatically tests pull requests through Jenkins, performs community builds to validate changes against hundreds of open-source projects, and publishes nightly builds for developer use. Contributors can engage with the team through the Scala Discord channel or contributors.scala-lang.org forum.

Share this video