09/08/2024 – Talk: “Implementing Domain-Specific Languages with Generative AI” By My Mosthaf

My Mosthaf will give a talk about her work on Implementing Domain-Specific Languages with Generative AI. Details below.

SPEAKER

My Mosthaf, MSc., ITU.

TITLE

Implementing Domain-Specific Languages with Generative AI

ABSTRACT

The development of domain-specific languages (DSLs) is often a laborious process with many iterations. Even though it seems to be an obvious match, research on the intersection of domain-specific languages (DSLs) and generative artificial intelligence (AI) has been limited until now. This Master’s Thesis investigates how to implement a tool that integrates generative AI to support the development of DSLs. By analyzing and modeling the complexity of DSL development projects, I have implemented a web application, a DSL Assistant, aimed at the stakeholders of such projects. OpenAI, the company that sparked the AI revolution with the introduction of ChatGPT, provides generative AI API services. DSL Assistant uses OpenAI’s assistant API with the LLM, GPT-4o, to generate DSL grammars and example texts. To reflect real-world use, the DSL Assistant supports various options and input for adding new versions of DSLs and examples and automatic error solving. Automated and human experiments demonstrate that the DSL Assistant successfully enables users to create and modify DSLs and examples with natural language instructions. The evaluation shows the quality of the generated DSLs is linked to the specific domain, and the selected options and given input.