From a Natural to a Formal Language with DSL Assistant
<|reference_start|>From a Natural to a Formal Language with DSL Assistant: 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.<|reference_end|>
@article{mosthaf2024from,
    title={From a Natural to a Formal Language with DSL Assistant},
    author={My M. Mosthaf and Andrzej Wk{a}sowski},
    journal={arXiv preprint arXiv:2408.09766},
    year={2024},
    doi={10.1145/3652620.3687811},
    archivePrefix={arXiv},
    eprint={2408.09766},
    primaryClass={cs.SE cs.PL}
}