Free courses from frontend to fullstack and AI
Build AI Apps with Azure, Copilot, and Generative AI — Microsoft Certified
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore the implementation of a macro in this 35-minute conference talk from Scala Days. Walk through the metaprogramming API and learn how to use it effectively. Dive into inline macros, discover how to use quotes for constructing and pattern-matching expressions, and leverage reflection to enhance macro expressiveness. Examine code examples featuring string interpolator macros for constructing and deconstructing JSON object representations. Understand how the macro utilizes the Selectable trait in combination with refinement types to encode object schemas. Gain valuable insights into advanced Scala programming techniques and expand your metaprogramming skills.
Syllabus
Nicolas Stucki - Implementing a Macro
Taught by
Scala Days Conferences