Skip to content

Latest commit

 

History

History
62 lines (51 loc) · 1.89 KB

File metadata and controls

62 lines (51 loc) · 1.89 KB

scala.meta tutorial

Join the chat at https://gitter.im/scalameta/scalameta






Target audience

  • ✅ Tool authors
    • Want to gather information about code?
    • Want to generate programs from scratch?
    • ...or by modifying existing ones?
    • Then scala.meta is what you need!
  • ❌ Macro writers
    • No macro support for 0.1
    • However, both def macros and macro annotations
      are tentatively planned for 1.0





👍 Trees that work

  • No desugarings
  • Precise range positions
  • Immutable semantic attributes
  • Check out State of the Meta, Summer 2015 for architectural details
  • Or read on to observe this in practice





Potential risks

  • This is pre-release software
  • Layout inference needs work (#164)
  • Semantic infrastructure is far from completion (#148)
  • Performance could use some improvements (#149 and #152)
  • All that and then some more is planned to be addressed in 0.1





Practical guides