Katalog Plus
Bibliothek der Frankfurt UAS
Bald neuer Katalog: sichern Sie sich schon vorab Ihre persönlichen Merklisten im Nutzerkonto: Anleitung.
Dieses Ergebnis aus BASE kann Gästen nicht angezeigt werden.  Login für vollen Zugriff.

Scala AST Persistence

Title: Scala AST Persistence
Authors: Demarne, Mathieu Baptiste; Ghosn, Adrien; Burmako, Eugene
Publication Year: 2014
Collection: Ecole Polytechnique Fédérale Lausanne (EPFL): Infoscience
Subject Terms: Scala; tree compression; compile time reflection
Description: The Scala compiler uses ASTs (abstract syntax trees) as an intermediate representation before generating bytecode. With the development of Scala macros which expand trees at compile time, being able to access, modify and recompose ASTs within the compilation scope is becoming more and more important. One of the common scenarios of using macros is inspecting abstract syntax trees within reach in order to learn more about the code being transformed, to apply more powerful optimizations, etc. However, arguments to macros can depend on third-party libraries, which are precompiled as bytecode and don't have their ASTs available. It would therefore be great to have a way to publish ASTs along with the bytecode. The publishing of those ASTs should be a choice of the programmer and should take as little space as possible in order to be transparent to the user. ; LAMP1
Document Type: report
Language: unknown
Relation: https://infoscience.epfl.ch/record/200050/files/ScalaAstPersistence.pdf; https://infoscience.epfl.ch/handle/20.500.14299/104809
Availability: https://infoscience.epfl.ch/handle/20.500.14299/104809; https://hdl.handle.net/20.500.14299/104809
Accession Number: edsbas.3C9ED51A
Database: BASE