Vanilla macros ship with the Scala compiler starting from 2.10.0, so sources of their implementation can be found in Scala's code repository. Macros affect multiple subsystems of the compiler, but the main chunk of logic resides in scala/tools/nsc/typechecker/Macros.scala.

Macro paradise is a compiler plugin to Scala 2.10.x and Scala 2.11.x that adds new functionality such as quasiquotes and macro annotations to the existing macro engine. It is hosted and published separately from mainline Scala at

scala.meta is the new foundation for Scala metaprogramming that provides a simple, robust and portable API along with a shiny new macro engine that works on top of the new API. It is also hosted and published separately from mainline Scala. Check out for more information.