Scala 3 Macros tutorial

(The Scala Org aims to release Scala 3 by the end of fall 2020. We are about 15 employees (some of whom work part-time), spread in 4 organisations (+ active community members), focusing on finalising 52 essential projects in 6 months. As of today, project leads will publish the road-maps under the category “Scala 3 release projects” to share with you what is to be expected and hopefully get your advice & contributions as well. All the projects’ road-maps come after an extensive feedback gathering, rounds of discussion, and involvement of major stakeholders, we now need the community to help push this effort over the line. Your collaboration is highly appreciated, thank you in advance!)

We are starting to write the initial draft of the macro tutorial.
Help improving text that has been written so far would be helpful at this point.
Another extreamely valuable addition would be to update the migration status.

This tutorial will cover all that is needed to start writing macros.
The first part (M-1) will cover inline, the second part (M-2) will cover macros and quoted expressions and the third part (M-3) will cover how to use the TASTy reflection API.
Additionally, we will include a cross-compilation/migration guide (M-A).

See latest version: scala3-macro-tutorial/CONTRIBUTING.md

15 Likes