Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Reports, Documentation, and Standards
  4. Making sbt Macro-Aware
 
report

Making sbt Macro-Aware

Duhem, Martin Nicolas  
•
Burmako, Eugene  
2014

Macros made their first appearance as a fork of the Scala compiler and then as an experimental feature in the version 2.10.0 of Scala. Since macros are normal Scala functions that are executed by the compiler during the compilation of their clients, they can introduce dependencies between compilation units in new and exciting ways. In which ways is post-macro dependency analysis different from its pre- macro days? How do we analyze all the code that’s involved in macro expansion, not just the end result? How can we know what parts of a program have been inspected by a given macro in order to produce a specific expansion? The goal of this report is to explain how macros affect incremental compilation and outline the techniques used to upgrade sbt to provide better support for macro-based programs.

  • Files
  • Details
  • Metrics
Loading...
Thumbnail Image
Name

MakingSbtMacroAware.pdf

Access type

openaccess

Size

192.14 KB

Format

Adobe PDF

Checksum (MD5)

96e11a4dba1edd1063efe31fb10cd45a

Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés