scala3-migrate
scala-3-crash-course
Our great sponsors
scala3-migrate | scala-3-crash-course | |
---|---|---|
2 | 1 | |
99 | 35 | |
- | - | |
8.1 | 0.0 | |
7 days ago | almost 3 years ago | |
Scala | Scala | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scala3-migrate
-
Show HN: Simple games ported to Scala 3 – Try them in the browser
> If I recall, there's a compiler plugin they put out that could automatically make many of those changes
Actually, there are compiler options to rewrite the sources to/from scala3, I have tried this in more complex projects and it worked nicely (see https://docs.scala-lang.org/scala3/guides/migration/tooling-...)
This is the link to the plugin you mentioned which is supposed to avoid the manual syntax updates but I haven't had the need to try it, like you said, most of the times the changes are trivial enough (https://docs.scala-lang.org/scala3/guides/migration/scala3-m...).
> An example of one of the programmable games in action
This comes handy to me, looks cool! For one or another reason, I ended up in this page which seems to intend hosting the same app but it doesn't work, just wanted to let you know (https://www.wbillingsley.com/lavamaze)
There is a similar nice project which I have been looking into (https://www.kogics.net/kojo).
-
Dragging Haskell Kicking and Screaming into the Century of the Fruitbat :: Reasonably Polymorphic
I'm using scala3-migrate as reference, although I haven't really done any Scala that much to know that issues this has.
scala-3-crash-course
-
What are resources to learn/get up to speed with Scala3 for experienced Scala2 dev?
I've run a Scala 3 crash course workshop a while ago. There was no recording, but you might find the repo useful to some extent. Each chapter shows a single Scala 2 feature and you can find the corresponding Scala 3 counterpart in the solutions package (e.g. enums in Scala 2 vs enums in Scala 3). There are also some exercises at the end of each chapter.
What are some alternatives?
Scalafix - Refactoring and linting tool for Scala
scala3-example-project - An example sbt project that compiles using Dotty
functional-way - Write small programs (eg -algorithms) in a functional way.
scala-3-migration-guide - The Scala 3 migration guide for everyone.
dotty - The Scala 3 compiler, also known as Dotty.
scala-js-games - Some simple games ported to Scala-Js
scala-js-games - Simple games ported to Scala.js (Scala 3)
Inkuire - Hoogle-like searches for Scala 3 and Kotlin
lavamaze - Lava Maze is a programmable game environment in Scala.js
scalaprops - property based testing library for Scala