2012 · 40 citations · 15 references
ComputingComputer ScienceEmbedded SystemsProgramming LanguagesSystems ProgrammingRuntime EnvironmentsRuntime SystemsEmbedding TechniquesStatic Semantics
Scala-Virtualized extends the Scala language to better support hosting embedded DSLs. Embedding a DSL in Scala-Virtualized comes with all the benefits of a shallow embedding thanks to Scala's flexible syntax, without giving up analyzing and manipulating the domain program -- typically exclusive to deep embeddings. Through lightweight modular staging, implemented in standard Scala, the benefits of a deep embedding are recovered with little overhead. Scala-Virtualized lifts more of the language's built-in constructs and static information to complete this support and make it more convenient. We illustrate how Scala-Virtualized makes Scala an even better host for embedded DSLs along three axes of customizing the language: syntax, run-time behavior and static semantics.
15
Tiark Rompf, Martin Odersky · 2010 · 279 citations
A Heterogeneous Parallel Framework for Domain-Specific Languages
Kevin J. Brown, Arvind K. Sujeeth, Hyouk Joong Lee et al. · 2011 · 185 citations