arXiv Open Access 2024

From a Natural to a Formal Language with DSL Assistant

My M. Mosthaf Andrzej Wąsowski
Lihat Sumber

Abstrak

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.

Topik & Kata Kunci

Penulis (2)

M

My M. Mosthaf

A

Andrzej Wąsowski

Format Sitasi

Mosthaf, M.M., Wąsowski, A. (2024). From a Natural to a Formal Language with DSL Assistant. https://arxiv.org/abs/2408.09766

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2024
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓