Designing Syntax Embeddings and Assimilations for Language Libraries
Designing Syntax Embeddings and Assimilations for Language Libraries
复制标题
设计语言库的语法嵌入和同化
DOI:
--
复制
发表时间:
2008
期刊:
影响因子:
--
通讯作者:
E. Visser
中科院分区:
文献类型:
--
作者:
Martin Bravenboer;E. Visser
Preprint of paper published in: Models in Software Engineering, Lecture Notes in Computer Science 5002, 2008; doi:10.1007/978-3-540-69073-3_5 Language libraries extend regular libraries with domain-specific notation. More precisely, a language library is a combination of a domain-specific language embedded in the general-purpose host language, a regular library implementing the underlying functionality, and an assimilation transformation that maps embedded DSL fragments to host language code. While the basic architecture for realizing language libraries is the same for all applications, there are many design choices to be made in the design of a particular combination of library, guest language syntax, host language, and assimilation. In this paper, we give an overview of the design space for syntax embeddings and assimilations for the realization of language libraries.