paperbot · PL 论文追踪

全部论文 待读 收藏

P2 SemServGen: Advancing Industrial Domain-Specific Language Engineering through Semantic Service Generation

SemServGen:通过语义服务生成推进工业领域特定语言工程
FSE Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering2025匹配度 3/10 · 论文关注 DSL 语义服务表达与自动生成,属于语言工程/开发者工具方向,与用户核心的静态分析、浮点/贝叶斯程序分析及 LLM+PL 交叉方向仅间接相关。虽然包含工业评估和工程实现,但未涉及 Agentic/ML 程序静态分析,也未利用 LLM/Agent 改进分析或验证。引用 0 inbox
Yong Wang, Ning Ge, Jingyao Li, Loulin Wang, Guangyu Zhou, Chengrui Deng, Li Zhang, Chunming Hu
crossref: 2026-09-12

AI 速览

一句话:提出 SemServGen 框架,用统一语言 SemaDSL 声明 DSL 语义服务并自动生成可执行实现,开发效率提升约 2 倍。

领域特定语言(DSL)在工业界被广泛用于解决特定领域问题,但设计 DSL 只是第一步:要真正提升开发效率与系统质量,还需要完整的语法与语义服务,而当前语义服务主要靠人工实现,成本高昂。本文提出 SemServGen,一个为 DSL 语义服务开发提供结构化方法的框架,包含三部分:统一的语义服务表达语言 SemaDSL、提供编辑/语法/语义/模板/DSL 绑定服务的 SemServ-editor,以及自动语义服务生成器 SemServ-gen。SemaDSL 支持规约通用与领域特定的语义服务,SemServ-gen 将这些形式化规约翻译为可执行的语义服务。作者与工业伙伴合作,以 CRL 与 SemaDSL 作为目标 DSL 进行评估:结果表明 SemaDSL 能以较高可用性建模语义服务领域概念,相比人工实现,开发效率在 CRL 上提升 2.5 倍、在 SemaDSL 上提升 1.9 倍,且生成的语义服务满足工业标准的服务分析时间性能基准。

问题
DSL 工程中语义服务(如编辑、语法与语义分析支持)主要依赖人工实现,开发成本高、效率低,制约了 DSL 在工业中的落地效果。
方法
提出 SemServGen 框架:以统一语义服务表达语言 SemaDSL 规约通用与领域特定的语义服务,配合提供编辑、语法、语义、模板与 DSL 绑定服务的 SemServ-editor,并由生成器 SemServ-gen 将形式化规约自动翻译为可执行的语义服务。
评估
与工业伙伴合作,以 CRL 和 SemaDSL 两个目标 DSL 进行实证评估,度量 SemaDSL 建模语义服务概念的可用性、相比人工实现的开发效率提升以及生成服务的分析时间性能。
原文摘要(Abstract)

Domain-Specific Languages (DSLs) are widely used across industries for addressing challenges within specific domains. However, designing a DSL is just the first step in DSL engineering. To truly enhance development efficiency and system quality, comprehensive syntax and semantic services are essential. Currently, semantic services are primarily implemented manually, leading to high development costs. Automating their generation can significantly improve efficiency and reduce costs in DSL projects. This paper presents SemServGen, a framework that defines a structured approach to DSL semantic service development. SemServGen comprises SemaDSL, a unified semantic service expression language; SemServ-editor, which provides editing, syntax, semantic, template, and DSL-binding services; and SemServ-gen, an automated semantic service generator. SemaDSL enables the specification of both generic and domain-specific semantic services, while SemServ-gen translates these formal specifications into executable semantic services. We evaluated SemServGen with industry partners using CRL and SemaDSL as target DSLs. The results demonstrate that SemaDSL effectively models semantic service domain concepts with high usability, while SemServGen increases development efficiency by 2.5 times for CRL and 1.9 times for SemaDSL compared to manual implementation. Additionally, the generated semantic services meet industry-standard performance benchmarks for service analysis time.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot9184,
  title = {SemServGen: Advancing Industrial Domain-Specific Language Engineering through Semantic Service Generation},
  author = {Yong Wang and Ning Ge and Jingyao Li and Loulin Wang and Guangyu Zhou and Chengrui Deng and Li Zhang and Chunming Hu},
  booktitle = {FSE},
  year = {2025},
  doi = {10.1145/3696630.3728550}
}