Language Boxes: Bending the Host Language with Modular Language Changes.

Abstract : As domain-specific modeling begins to attract widespread acceptance, pressure is increasing for the development of new domain-specific languages. Unfortunately these DSLs typically conflict with the grammar of the host language, making it difficult to compose hybrid code except at the level of strings; few mechanisms (if any) exist to control the scope of usage of multiple DSLs; and, most seriously, existing host language tools are typically unaware of the DSL extensions, thus hampering the development process. Language Boxes address these issues by offering a simple, modular mechanism to encapsulate (i) compositional changes to the host language, (ii) transformations to address various concerns such as compilation and highlighting, and (iii) scoping rules to control visibility of language extensions. We describe the design and implementation of Language Boxes, and show with the help of several examples how modular extensions can be introduced to a host language and environment.
Document type :
Conference papers
Complete list of metadatas

Cited literature [26 references]  Display  Hide  Download

https://hal.inria.fr/inria-00531044
Contributor : Lse Lse <>
Submitted on : Monday, November 1, 2010 - 12:47:59 PM
Last modification on : Thursday, February 21, 2019 - 10:52:50 AM
Long-term archiving on: Wednesday, February 2, 2011 - 11:46:55 AM

File

Reng09cLanguageBoxes.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Lukas Renggli, Marcus Denker, Oscar Nierstrasz. Language Boxes: Bending the Host Language with Modular Language Changes.. Software Language Engineering: Second International Conference, SLE 2009, Oct 2009, Denver, United States. pp.274-293, ⟨10.1007/978-3-642-12107-4_20⟩. ⟨inria-00531044⟩

Share

Metrics

Record views

334

Files downloads

181