计算机科学 > 软件工程
[提交于 2024年8月19日]
标题:From a Natural to a Formal Language with DSL Assistant
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The development of domain-specific languages (DSLs) is a laborious and iterative process that seems to naturally lean to the use of generative artificial intelligence. We design and prototype DSL Assistant, a tool that integrates generative language models to support the development of DSLs. DSL Assistant uses OpenAI's assistant API with GPT-4o to generate DSL grammars and example instances. To reflect real-world use, DSL Assistant supports several different interaction modes for evolving a DSL design, and includes automatic error repair. Our experiments show that DSL Assistant helps users to create and modify DSLs. However, the quality of the generated DSLs depends on the specific domain and the followed interaction patterns.
提交历史
来自:Andrzej Wąsowski[v1] 2024年8月19日 星期一 07:53:56 UTC