A Language Workbench Extension to Generate Conversational Interfaces for Domain-Specific Languages
The integration of Large Language Models (LLMs) into software engineering has led to significant advancements, particularly in supporting development with well-established programming languages (e.g., Copilot for Java). LLMs face challenges when applied to domain-specific languages (DSLs), since often their training dataset does not include extensive sets of examples for these languages. This is also the case for languages that are either newly developed or under refinement.
In this paper, we introduce langium-llm, an extension of the Langium language workbench designed to facilitate interactions with LLMs during development with DSLs. Given a Langium-based DSL, we propose two approaches for the communication with the LLM: one based on the DSL concrete syntax and the other in its abstract syntax. Depending on the solution chosen, our extension generates a conversational interface that is aware of the grammar of the DSL concrete syntax or of the JSON Schema of its abstract syntax, enabling software engineers to collaborate with the LLM while developing in the DSL, using natural language instructions.
We first present an overview of the architecture underlying our proposed solutions. We then evaluate their effectiveness by assessing the LLM’s ability to interpret and execute development instructions via the graphical chat interface. We especially focus on the responsiveness and accuracy of our LLM-based approach in editing programs written in different DSLs.
Thu 12 JunDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
11:00 - 12:30 | |||
11:00 30mResearch paper | Large Language Models for Game Development: A Survey on Automated Code Generation LLM4SE Mohammadreza Sharbaf University of Isfahan, Shekoufeh Rahimi University of Roehampton , Alireza Dastmalchi Saei Bilkent University | ||
11:30 30mResearch paper | A Language Workbench Extension to Generate Conversational Interfaces for Domain-Specific Languages LLM4SE Luigi Brandolini IMT Atlantique, LS2N (UMR CNRS 6004), Jean Sebastien Sottet Luxembourg Institute of Science and Technology and University of Luxembourg, Massimo Tisi | ||
12:00 30mResearch paper | AIPyCraft: AI-Assisted Software Development Lifecycle for 6G Blockchain Oracle Validation LLM4SE Antonio Alberti University of Leeds, Alexis Leal Federal Institute of Mato Grosso (Brazil), Ariel Dalla-Costa Universidade do Vale do Rio dos Sinos, Cristiano Both University of Vale do Rio dos Sinos (UNISINOS) |