Designing Syntax Embeddings and Assimilations for Language Libraries

Designing Syntax Embeddings and Assimilations for Language Libraries
复制标题

设计语言库的语法嵌入和同化

DOI:
--
复制
发表时间:
2008
期刊:
ACM/IEEE International Conference on Model Driven Engineering Languages and Systems
影响因子:
--
通讯作者:
E. Visser
E. Visser
中科院分区:
--
文献类型:
--
作者:
Martin Bravenboer;E. Visser

文献摘要

被引文献

相似文献

论文的预印本发表于:软件工程模型,计算机科学的讲义5002,2008; doi:10.1007/978-3-540-69073-3_5语言库以特定于域的符号扩展了常规库。更准确地说,语言库是嵌入通用主机语言中的特定领域的语言的组合,一个实现基础功能的常规库以及将嵌入到主机语言代码嵌入的DSL片段的同化转换。虽然所有应用程序的基本架构都相同,但在图书馆,访客语言语法,主机语言和同化的特定组合的设计中,有许多设计选择。在本文中,我们概述了语法嵌入的设计空间和用于实现语言库的同化。
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.