7 ms·
Scala macros are different. We deeply respect the Lisp tradition, in which we are rooted, but we also accommodate and empower our language's values - static typ
by eugene_burmako 13y ago
Scala macros are different. We deeply respect the Lisp tradition, in which we are rooted, but we also accommodate and empower our language's values - static types and rich syntax [1]. The end result is admittedly less flexible, but it also opens a number of interesting possibilities beyond those available in Lisp [2]. Our design is also not set in stone, and we're experimenting with different macro flavors [3], but it's too early to say something definitive about those.
[1] http://scalamacros.org/paperstalks/2013-09-19-PhilosophyOfScalaMacros.pdf http://scalamacros.org/paperstalks/2013-09-19-PhilosophyOfSc...
[2] http://scalamacros.org/paperstalks/2013-12-02-WhatAreMacrosGoodFor.pdf http://scalamacros.org/paperstalks/2013-12-02-WhatAreMacrosG...
[3] http://docs.scala-lang.org/overviews/macros/annotations.html http://docs.scala-lang.org/overviews/macros/annotations.html