arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1404.6838cs.PL
收藏

特定领域语言的变形:语言的变形之旅

Metamorphic Domain-Specific Languages: A Journey Into the Shapes of a Language

Mathieu Acher, Benoit Combemale, Philippe Collet

摘要:

外部或内部特定领域语言(DSL)或(流畅)API?无论您是DSL的开发人员还是用户,您通常都必须选择自己的立场;您不应该这样做!根据您的需要改变形状的变形DSL怎么样?我们报告了我们4年来提供“正确”支持(在特征建模领域)的旅程,引导我们开发外部DSL,不同形状的内部API,并维护所有这些语言。一个关键的见解是,没有一个放之四海而皆准的解决方案,或者一个解决方案与另一个解决方案相比没有明显的优越性。相反,我们发现继续维护外部和内部DSL是有意义的。我们对软件语言未来的展望是它们能够根据特定的用途或任务自适应到最合适的形状(包括相应的集成开发环境)。我们称之为变形DSL这样一种语言,能够从一种形状变成另一种形状。

英文摘要:

External or internal domain-specific languages (DSLs) or (fluent) APIs? Whoever you are -- a developer or a user of a DSL -- you usually have to choose your side; you should not! What about metamorphic DSLs that change their shape according to your needs? We report on our 4-years journey of providing the "right" support (in the domain of feature modeling), leading us to develop an external DSL, different shapes of an internal API, and maintain all these languages. A key insight is that there is no one-size-fits-all solution or no clear superiority of a solution compared to another. On the contrary, we found that it does make sense to continue the maintenance of an external and internal DSL. The vision that we foresee for the future of software languages is their ability to be self-adaptable to the most appropriate shape (including the corresponding integrated development environment) according to a particular usage or task. We call metamorphic DSL such a language, able to change from one shape to another shape.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑