Scala Macros

Open-source Scala projects categorized as Macros

Top 9 Scala Macro Projects

  • Wartremover

    Flexible Scala code linting tool

  • Project mention: Is Scala to Java the same relationship as TypeScript has with ECMAScript? | /r/scala | 2023-05-08

    By contrast, Java and ECMAScript are essentially what we might call "classical" imperative OOP languages, although ECMAScript reveals much more of its Lisp-inspired "map/filter/reduce" FP roots. IMO ESLint is essentially table stakes for working with ECMAScript, but honestly, I wouldn't stop there and would insist on working in TypeScript, including some of the tooling for ESLint specifically for TypeScript, dialing type-safety up to 11, effectively like using Wart Remover with Scala.

  • Scala-Logging

    Convenient and performant logging library for Scala wrapping SLF4J.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • jsoniter-scala

    Scala macros for compile-time generation of safe and ultra-fast JSON codecs

  • Project mention: 1BRC Merykitty's Magic SWAR: 8 Lines of Code Explained in 3k Words | news.ycombinator.com | 2024-03-09

    What an amazing step by step explanation!

    More than 2 years ago I found that byte array view var handles are quite suitable to cook efficient SWAR routines with Java/Scala.

    See a lot of other examples of SWAR usage, like parsing Base16/64 string, java.time.* and number values directly from byte arrays:

    https://github.com/plokhotnyuk/jsoniter-scala/blob/master/js...

  • Accord

    Accord: A sane validation library for Scala

  • scala-commons

    AVSystem commons library for Scala

  • scalingua

    A simple gettext-like internationalization (aka i18n) library for Scala and Play Framework

  • fields

    Scala validation library (by jap-company)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • pos

    Macro based print debugging for Scala code. Locates debug statements in your IDE. Supports logging. (by JohnReedLOL)

  • Project mention: Someone please help me understand Git | /r/learnprogramming | 2023-05-29

    Make the changes to the code you just cloned in your computer. If you already have changes, you can copy-paste them into this local project whose code is being tracked by git. Then, using the GitHub terminal for Windows or the Linux/Mac terminal with the git command line command installed, from the directory of the repository you cloned (so for this example it would be ~/Home/code/pos because the name of my project is "pos") run git status to see the list of files you modified in this project. Then run git add . (with a period in the command) to add all the modified files or git add file.py to add say a file named file.py that you modified. Then run the command git commit -m "I modified the file file.py" or whatever you want to be the message documenting what change you made to your project (the -m flag specifies the commit message). A git commit is like a save point in a videogame, if you mess up you can always go back to it, reverting all your code to that point. Finally, do git push origin master to push your changes from your local git repository to the one in GitHub (in this command master refers to the name of the branch in the git repository, the master branch, and origin refers to the origin of where you got the code from, in this example it is https://github.com/JohnReedLOL/pos . A branch in git is like a version of your code and the master branch is the main version. If someone is working on version 2.0 they might make a branch named "2.0" that is a clone of the master branch, add their commits to it, and when they're done merge those commits back into the master branch.

  • dotty-patched

    Eval library and patched Scala-3/Dotty compiler. Evaluating source code and trees at compile time hacking multi-staging programming

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-03-09.

Scala Macros related posts

Index

What are some of the best open-source Macro projects in Scala? This list will help you:

Project Stars
1 Wartremover 1,059
2 Scala-Logging 899
3 jsoniter-scala 704
4 Accord 535
5 scala-commons 83
6 scalingua 53
7 fields 44
8 pos 23
9 dotty-patched 19

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com