2014/04/13 by Ruslan Shevchenko, Shevchenko, Ruslan
Computer Science · Social Sciences · #D.3.2 #FOS: Computer and information sciences #Logic, programming, and type systems #Model-Driven Software Engineering Techniques #Programming Languages (cs.PL) #Software Engineering and Design Patterns
paper · pdf · doi:10.48550/arxiv.1404.3407
openalex publication_date 2014/04/13 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28
Presented simple extensions to scala language related to import statements: exported imports, which provide ability to reuse sequence of import clauses in composable form and default rewriters, which provide mechanism for pluggable macro-based AST transformation of overall compilation unit, activated by import of library object. Using these facilities not only allows more compact code, it prevents application programmer from producing certain type of errors too and allows to implement local language extension as libraries on top of standard compiler. Part of discussed extensions is submitted to scala language committee as pre-sip \citeai-presip and can be used as first step for refining imports semantics in the future version of scala language.