case sensitive

Sort by: Display: Hide controls:

  1. Lukas Renggli, Marcus Denker, and Oscar Nierstrasz. Language Boxes: Bending the Host Language with Modular Language Changes. In Proceedings of the International Conference on Software Language Engineering (SLE'09), LNCS 5969 p. 274—293, Springer, 2009. DOI 

    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.