ducktape
Automatic and customizable compile time transformations between similar case classes and sealed traits/enums, essentially a thing that glues your code. Scala 3 only. Or is it duct 🤔 (by arainko)
Scalafix
Refactoring and linting tool for Scala (by scalacenter)
ducktape | Scalafix | |
---|---|---|
5 | 6 | |
404 | 828 | |
- | 1.0% | |
9.3 | 9.3 | |
2 days ago | 6 days ago | |
Scala | Scala | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
ducktape
Posts with mentions or reviews of ducktape.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-13.
- ducktape 0.1.10 is out - now with support for coproduct derivation for FallibleTransformers!
- ducktape 0.1.10 is out - now with coproduct derivation support for FallibleTransformers!
- ducktape 0.1.6 is out - now with Fallible Transformers and cross-compilation to Scala.js and Native!
- ducktape 0.1.1 is out
-
Best resource to learn Scalia 3 metaprogramming
I’m looking for small Scala 3 exclusive (mixing it with 2 makes much harder to distinguish) projects with use of metaprogramming where I can learn more and perhaps contribute. Ducktape (https://github.com/arainko/ducktape) is a great example. Any blog posts would be even better.
Scalafix
Posts with mentions or reviews of Scalafix.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-11.
-
Security static analysis tooling for Scala?
I also recommend using Scalafix. It's a tool which can lint your codebase, checking for potentially problematic things, like
-
Which static analysis tool do you use for Scala?
Scalafix
-
Dragging Haskell Kicking and Screaming into the Century of the Fruitbat :: Reasonably Polymorphic
scala-fix seems relevant for the /= removal problem.
- Newspeak and Domain Modeling
-
Scala noob question. Parameter of type Option. Why does scala compiler allows passing null as an argument?
I actually still recommend using WartRemover, at least until there's an equivalent ScalaFix ruleset that's as effective.
-
Teaching exercises with custom error messages
Probably linting rules defined in Scalafix. See https://github.com/scalacenter/scalafix/blob/master/scalafix-rules/src/main/scala/scalafix/internal/rule/DisableSyntax.scala#L11 for an example.
What are some alternatives?
When comparing ducktape and Scalafix you can also consider the following projects:
zio-protoquill - Quill for Scala 3
scalafmt - This repo is now a fork of --->
dotty - The Scala 3 compiler, also known as Dotty.
Scalastyle - scalastyle
functional-way - Write small programs (eg -algorithms) in a functional way.
Wartremover - Flexible Scala code linting tool
dotty-patched - Eval library and patched Scala-3/Dotty compiler. Evaluating source code and trees at compile time hacking multi-staging programming
Scapegoat - Scala compiler plugin for static code analysis
scalaprops - property based testing library for Scala
scala-3-migration-guide - The Scala 3 migration guide for everyone.
cel-sandbox - Simple web application for playing with Google CEL language
Scalariform - Scala source code formatter