Code generation through Large Language Models (LLMs) has made significant progress in recent years. However, when the code generation involves a lesser-known Domain-Specific Language (DSL), a standard tool in software development for cyber-physical systems, LLMs’ performance significantly decreases. We present an exploratory study assessing LLMs’ performance in generating LIrAs (Language for Interactive Agents) code, a DSL for robotic and multi-agent tasks specification. This work is a stepping stone towards improving LLM-generated DSL code through iterative specification repair techniques driven by formal verification results.
Preliminary Study of DSL Code Generation for Robotics with LLMs
Tagliaferro, Alberto;Lestingi, Livia;Rossi, Matteo
2026-01-01
Abstract
Code generation through Large Language Models (LLMs) has made significant progress in recent years. However, when the code generation involves a lesser-known Domain-Specific Language (DSL), a standard tool in software development for cyber-physical systems, LLMs’ performance significantly decreases. We present an exploratory study assessing LLMs’ performance in generating LIrAs (Language for Interactive Agents) code, a DSL for robotic and multi-agent tasks specification. This work is a stepping stone towards improving LLM-generated DSL code through iterative specification repair techniques driven by formal verification results.| File | Dimensione | Formato | |
|---|---|---|---|
|
978-3-032-01486-3_22.pdf
Accesso riservato
:
Publisher’s version
Dimensione
945.18 kB
Formato
Adobe PDF
|
945.18 kB | Adobe PDF | Visualizza/Apri |
|
paper_74.pdf
embargo fino al 13/08/2026
:
Post-Print (DRAFT o Author’s Accepted Manuscript-AAM)
Dimensione
2.19 MB
Formato
Adobe PDF
|
2.19 MB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


