Registry / build-tool / scala3-compiler-3

scala3-compiler-3

JSON →
library3.8.3javamavenunverified

The official compiler for Scala 3, bootstrapped and ready for compiling Scala 3 code.

<dependency> <groupId>org.scala-lang</groupId> <artifactId>scala3-compiler_3</artifactId> <version>3.8.3</version> </dependency>
INSTALL
IMPORT
SIG · SCALA3-COMPILER-3
S
scala3-compiler-3
build-tooljavav3.8.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Main
dotty.tools.dotc.Main

Invoke the Scala 3 compiler programmatically.

import dotty.tools.dotc.Main; public class CompileScala3 { public static void main(String[] args) { Main.main(new String[]{"source.scala"}); } }
Debug
Known issues
gotchaScala 3 compiler is not designed for direct Java usage; prefer using sbt or scala-cli.
fix
Use build tools like sbt or scala-cli instead of embedding the compiler in Java.
affects: all
Upgrade
Version history
3.8.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
scala3-compiler-3 — mvn dependency:get scala3-compiler-3 · libregistry