I find this (link to Lukas Renggli's PhD. dissert.) a rather impressive and promising ongoing research work.
Quoting the abstract:
Domain-speciï¬c languages (DSLs) are increasingly used as embedded languages within general-purpose host languages. DSLs provide a compact, dedicated syntax for specifying parts of an application related to specialized domains. Unfortunately, such language extensions typically do not integrate well with existing development tools. Editors, compilers and debuggers are either unaware of the extensions, or must be adapted at a non-trivial cost. Furthermore, these embedded languages typically conflict with the grammar of the host language and make it difï¬cult to write hybrid code; few mechanisms exist to control the scope and usage of multiple tightly interconnected embedded languages.
In this dissertation we present Helvetia, a novel approach to embed languages into an existing host language by leveraging the underlying representation of the host language used by these tools. We introduce Language Boxes, an approach that offers a simple, modular mechanism to encapsulate (i) compositional changes to the host language, (ii) transformations to address various concerns such as compilation and syntax highlighting, and (iii) scoping rules to control visibility of ï¬ne-grained language changes[...]
[Edit] Tip: the impatient will likely benefit (to decide reading on, or to leave) from a quick glance at the nice bunch, imho, of 19 sample applications(*) listed at the end of the paper, in its Appendix B (B.1 to B.19) -- most of them given with their respective implementation effort, also.
(*) i.e., there, language embeddings imlemented thanks to this Helvetia toolset.
Recent comments
27 weeks 2 days ago
27 weeks 2 days ago
27 weeks 2 days ago
49 weeks 3 days ago
1 year 1 week ago
1 year 3 weeks ago
1 year 3 weeks ago
1 year 5 weeks ago
1 year 10 weeks ago
1 year 10 weeks ago