Skip to content
0:00 / 0:00

#scala3#macros#metaprogramming

Introduction to Scala 3 Macros - How Macros Work, Quoting, Matching and Reflection

Rock the JVM

27K subscribers • 62 videos on Hallway

YouTube

Advanced. Deep dive for people who know the field.

3K views1 year ago1 recommendation

Programming languagesScalaCompilers and interpreters

An introduction to Scala 3 macros, covering abstract syntax trees, quoting, splicing, pattern matching, and compile-time reflection.

blog post: rockthejvm.com/articles/scala-3-macros GitHub repo: github.com/rockthejvm/scala-macros-demo Scala 3 Macros and Metaprogramming full course: rockthejvm.com/courses/scala-macros-and-metaprogramming In this video, you will learn how Scala 3 macros work, why they exist, how to quote and splice expressions, how pattern matching works on macros, and how to do type-safe, compile-time reflection. Timeline: Intro Scala Macros and Metaprogramming Course Abstract Syntax Trees (ASTs) How to Write a Scala 3 Macro Pattern Matching on a Scala 3 Macro Using Compile-Time Reflection Follow Rock the JVM on: LinkedIn: linkedin.com/company/rockthejvm X/Twitter: x.com/rockthejvm Blog: rockthejvm.com/articles ------------------------------------------------------------------------- rockthejvm.com -------------------------------------------------------------------------

Why it's here

1 person recommends this

What people say. Recommended as an excellent, clear tutorial on how to write and use macros in Scala 3.

u/danielciocirlanin r/scala • Recommends

Introduction to Scala 3 Macros