Science and Technology Foresight ›› 2023, Vol. 2 ›› Issue (1): 46-61.DOI: 10.3981/j.issn.2097-0781.2023.01.004

• Review and Commentary • Previous Articles     Next Articles

Development of Domain-specific Languages: Status and Prospects

CAO Yiyuan1(), GUAN Zhichao1, XIAO Yushuo2, ZHAO Haiyan1, HU Zhenjiang1,()   

  1. 1. School of Computer Science, Peking University, Beijing 100871, China
    2. Department of Computer Science, ETH Zürich, Zürich 8092, Switzerland
  • Received:2022-12-30 Revised:2023-02-06 Online:2023-03-20 Published:2023-03-27
  • Contact:

领域特定语言开发现状与展望

曹奕远1(), 关智超1, 肖宇朔2, 赵海燕1, 胡振江1,()   

  1. 1.北京大学计算机学院,北京 100871
    2.苏黎世联邦理工学院计算机学部,瑞士苏黎世 8092
  • 通讯作者:
  • 作者简介:曹奕远,博士研究生。主要研究方向为安全编程语言与可验证编程。电子信箱:yiyuan@stu.pku.edu.cn
    胡振江,北京大学讲席教授,博士研究生导师。北京大学计算机学院院长。日本工程院院士、欧洲科学院院士、日本工学会会士、国际电气与电子工程师协会(IEEE)会士。曾任日本东京大学信息理工学研究科教授和日本国立信息学研究所教授、系主任。长期从事程序设计语言和软件科学与工程研究。获全日本最佳博士论文奖、日本软件科学会基础研究成就奖、21世纪先驱科学家(日本科学技术振兴机构)等。电子信箱:huzj@pku.edu.cn

Abstract:

A software system in the ubiquitous computing environment spans multiple fields and uses a large number of domain-specific languages. Therefore, an efficient and feasible domain-specific language development environment is urgently needed. This article gives a brief introduction to the evolution and characteristics of domain-specific languages and reviews the current research on domain-specific language development both in China and abroad in three dimensions: design, implementation, and programming environment development. Furthermore, the article analyzes and identifies the challenges encountered in the present work, proposes to develop an agile domain-specific language workbench, and highlights issues that require further research.

Key words: ubiquitous computing, domain-specific language, implementation of programming language

摘要:

泛在计算环境下的软件系统横跨多个领域并使用大量领域特定语言,迫切需要一个高效可行的领域特定语言开发环境。文章简要介绍领域特定语言的发展脉络与特点,从设计、实现和编程开发环境3个维度梳理国内外在领域特定语言开发方面的研究现状,分析和定位现有工作面临的挑战,进而提出一种敏捷的领域特定语言开发工作台的构想,并突出其中有待重点探究的问题。

关键词: 泛在计算, 领域特定语言, 编程语言实现