-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explain how to run a Scala 3 program compiled on the command line #1250
Comments
Duplicate of scala/scala3#12811 |
This is a showstopper for me to use cs in my teaching. And there is no .msi for Scala 3 so I'm more or less stuck (manually unpackaging a zip and going into environment variables to fiddle with path etc in Windows is not very attractive beginner programmer user experience...) |
See also scala/scala3#12502 |
See also #1248 |
@lrytz Is this really a duplicate of scala/scala3#12811? |
I closed this to avoid having too many tickets for the same underlying issue. I assume when the coursier issue (coursier/coursier#2058) gets fixed the website will be updated too. But I we can re-open it if desired. Note that the |
I'm using it :) Ok; good to reduce overlap among issues. This also depends on if I guess one reason for the low usage could be the lack of easy install of Scala 3 on Windows. Do you have some info on the download stats of the Scala 2 .msi? |
Nice, sorry about my skepticism :)
I didn't manage to get these stats unfortunately. The files are hosted on a S3 bucket at lightbend, and we're not currently processing the access logs. |
Cross-posting from gitter before I can't find my own message anymore.
https://www.scala-lang.org/download/scala3.html suggests
cs install scala3-compiler
andcs install scala3-repl
to install, andscala3-compiler test.scala
to compile something on the command line. But it doesn't say how to run the compiled program.If I have
@main def hello(): Unit = ...
, thenscala3-repl hello
just opens the REPL.java -cp $(cs fetch -p scala3-repl):. hello
works, is there anything simpler?The text was updated successfully, but these errors were encountered: