paperbot · PL 论文追踪

全部论文 待读 收藏

P2 How Domain Experts Use an Embedded DSL

领域专家如何使用嵌入式 DSL
OOPSLA 7(OOPSLA2)2023匹配度 2/10 · 论文关注领域专家如何使用嵌入式 DSL 的可用性与用户体验,属于 PL/DSL 的人机交互研究,但与静态分析、LLM/Agent、浮点程序分析和贝叶斯程序分析等核心方向没有直接关联。引用 4 inbox
Lisa Rennels, Sarah E. Chasins
crossref: 2026-09-10

AI 速览

一句话:通过情境调查与主题分析,揭示领域专家使用 Mimi(气候变化经济学 eDSL)时的需求与体验。

嵌入式领域特定语言(eDSL)有望以较低实现负担服务非计算机科学领域的程序员,但其使用障碍会降低实用价值与采纳率。本文旨在深入理解程序员如何使用 eDSL,并识别用户需求以指导未来 eDSL 设计。作者对 9 名使用 Mimi(一个用于气候变化经济学建模的 eDSL)的领域专家进行了情境调查(contextual inquiry),并采用主题分析归纳出五个关键主题。研究发现,eDSL 与宿主语言之间的交互对用户体验有显著且有时出乎意料的影响;用户更倾向于参与领域特定社区和使用代码模板,而非宿主语言资源。这些需求为未来 eDSL 设计提供了考量,并为 DSL 可用性研究指明了方向。

问题
eDSL 的使用障碍削弱了其实际价值与采纳,需要理解领域专家如何实际使用 eDSL 并识别其用户需求。
方法
对 9 名使用 Mimi(气候变化经济学建模 eDSL)的领域专家进行情境调查,并对收集的数据进行主题分析。
评估
通过主题分析识别出五个关键主题,包括 eDSL 与宿主语言交互对用户体验的显著且意外影响,以及用户偏好领域社区与代码模板而非宿主语言资源。
原文摘要(Abstract)

Programming tools are increasingly integral to research and analysis in myriad domains, including specialized areas with no formal relation to computer science. Embedded domain-specific languages (eDSLs) have the potential to serve these programmers while placing relatively light implementation burdens on language designers. However, barriers to eDSL use reduce their practical value and adoption. In this paper, we aim to deepen our understanding of how programmers use eDSLs and identify user needs to inform future eDSL designs. We performed a contextual inquiry (9 participants) with domain experts using Mimi, an eDSL for climate change economics modeling. A thematic analysis identified five key themes, including: the interaction between the eDSL and the host language has significant and sometimes unexpected impacts on eDSL user experience, and users preferentially engage with domain-specific communities and code templates rather than host language resources. The needs uncovered in our study offer design considerations for future eDSLs and suggest directions for future DSL usability research.

链接与引用

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

BibTeX
@article{paperbot1867,
  title = {How Domain Experts Use an Embedded DSL},
  author = {Lisa Rennels and Sarah E. Chasins},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {7},
  number = {OOPSLA2},
  year = {2023},
  doi = {10.1145/3622851}
}