We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.PL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Programming Languages

Title: Annotated imports

Abstract: 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 \cite{ai-presip} and can be used as first step for refining imports semantics in the future version of scala language.
Subjects: Programming Languages (cs.PL)
ACM classes: D.3.2
Cite as: arXiv:1404.3407 [cs.PL]
  (or arXiv:1404.3407v1 [cs.PL] for this version)

Submission history

From: Ruslan Shevchenko [view email]
[v1] Sun, 13 Apr 2014 18:20:40 GMT (5kb)

Link back to: arXiv, form interface, contact.