Language Boxes: Bending the Host Language with Modular Language Changes. - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2010

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.
Fichier principal
Vignette du fichier
Reng09cLanguageBoxes.pdf (312.71 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

inria-00531044 , version 1 (01-11-2010)

Identifiers

Cite

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⟩
149 View
170 Download

Altmetric

Share

Gmail Facebook X LinkedIn More