[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-698669-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-698669-en":130,"doc-similar-698669":161},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","exploring-the-use-of-large-language-models-in-domain-specific-language-development-an-experience-report","Exploring the use of large language models indomain-specific language development: an experience report","","Large language models (LLMs) are increasingly used in software-related tasks. This paper investigates whether LLMs can generate a domain-specific language (DSL) from scratch, covering both abstract syntax and two concrete notations: textual and graphical. Experimental results are promising, indicating that LLMs can assist DSL creation, but effective outcomes still require human guidance. Additional discussion addresses benefits and challenges for language engineering.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/exploring-the-use-of-large-language-models-in-domain-specific-language-development-an-experience-report/698669/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/exploring-the-use-of-large-language-models-in-domain-specific-language-development-an-experience-report/698669.png","ImageObject",300,407,{"name":42,"@type":43},"McGucket","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-30","2026-11-12",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What does the paper explore about large language models (LLMs) and DSLs?","Question",{"text":62,"@type":63},"It explores whether LLMs can create a domain-specific language (DSL) from scratch, including abstract syntax and both textual and graphical concrete syntaxes.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"Which DSL components and notations are created using the LLM?",{"text":67,"@type":63},"The experiment covers the DSL metamodel/abstract syntax and two concrete syntaxes: textual and graphical.",{"name":69,"@type":60,"acceptedAnswer":70},"What do the results suggest about using LLMs to build DSLs?",{"text":71,"@type":63},"Results are promising, showing potential for LLM assistance in DSL creation, but they also indicate the LLMs should not be left alone and need guidance for optimal outcomes.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},698669,1794454390,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":123,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":79,"read_time":143,"preview_page_count":33,"preview_urls":144},1236954412713,"https://us-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Exploring the use of large language models indomain-specific language development: an experience report  \nJordi Cabot1,2, *  \n1 Luxembourg Institute of Science and Technology, Esch-sur-Alzette, Luxembourg 2 University of Luxembourg, Esch-sur-Alzette, Luxembourg  \nAbstract  \nLarge language models (LLMs) are increasingly used in many software-related tasks. In this paper, we explore whether LLMs can also be used to create a domain-specific language (DSL) from scratch. This includes both the language abstract syntax and two types of concrete syntaxes: textual and graphical. Results are promising, showing the potential of LLMs to assist in the creation of a DSL even if, so far, they cannot be left alone and need some guidance in order to produce optimal results.  \nKeywords  \nLLM, DSL, Language Engineering, Vibe coding, Metamodel, Grammar, Notation, AI  \n1. Introduction  \nDomain-Specific Languages (DSLs) facilitate the creation of models and software artifacts for specific domains, helping domain experts express their knowledge and requirements using a vocabulary that is closer to their own.  \nOn the one hand, the creation of a DSL is a complex task often left to language engineers. While their expertise guarantees a high-quality DSL that satisfies user needs, it is still a time-consuming task. Additionally, language engineers may not be available or not be able to take on the task within the time (or budget) constraints.  \nOn the other hand, Large Language Models (LLMs) are increasingly used in many software-related tasks [1] . They are able to generate code, documentation, tests, and so on with an acceptable level of quality. Therefore, it is fair to wonder whether the same is true for DSL-related tasks.  \nIn this sense, this paper presents a concrete experiment in using an LLM to create a DSL from scratch, including both the abstract syntax and two types of notation: textual and graphical. Based on this experiment and the author’s experience in other (smaller) LLM-driven DSL tasks, the paper draws some discussion points on the benefits and challenges of using LLMs in language engineering.  \nSurprisingly enough, this is not a topic that has been thoroughly studied so far. Although the use of DSLs to help in the configuration and management of LLMs is a rather popular topic (e.g., [2, 3, 4, 5, 6]), the use of LLMs to create full DSLs is still a rather unexplored topic. Existing works focus on the use of LLMs to elicit the language semantics [7], to create code-generation artefacts [8] or to derive models from natural language documents [9, 10, 11, 12, 13] . Even if works in this latter group target models and not DSLs, they are still relevant as they could be directly used to create the DSL metamodel, typically expressed as a UML class diagram.  \nThe rest of the paper is structured as follows. The next section details the experiment, describing the use of LLMs to create each of the main DSL components. Based on this, Section 3 discusses the results  \nJoint Proceedings of the STAF 2025 Workshops: OCL, OOPSLE, LLM4SE, ICMM, AgileMDE, AI4DPS, and TTC. Koblenz, Germany, June 10-13, 2025  \n* Corresponding author.  \n$ [jordi.cabot@list.lu](jordi.cabot@list.lu) (J. Cabot)  \n􀂀 https://jordicabot.com/ (J. Cabot)  \n􀀚 0000-0002-0877-7063 (J. Cabot)  \n © 2025 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0) .  \nCEUR ~~  ~~[Workshop](Workshop ceur-ws.org)[ ceur-ws.org](Workshop ceur-ws.org)[ ](Workshop ceur-ws.org)[Proceedings](Proceedings ISSN 1613-0073)[ ISSN 1613-0073](Proceedings ISSN 1613-0073)   \npublished 2025-12-10  \nand adds some additional reflections. Finally, Section 4 wraps up the paper with some final conclusions.  \n2. Creating a DSL with an LLM: an experiment  \nThere are many tools and language workbenches to create a DSL, where the choice often depends on the core notation of the DSL1 (graphical, textual or projectional) and the type of DSL (external","cbCaiqErEbQazPKs","https://ap.wps.com/l/cbCaiqErEbQazPKs","pdf",1370559,"English","# 1. Introduction\n# 2. Creating a DSL with an LLM: an experiment\n# 3. Results\n# 4. Conclusions","[{\"question\":\"What does the paper explore about large language models (LLMs) and DSLs?\",\"answer\":\"It explores whether LLMs can create a domain-specific language (DSL) from scratch, including abstract syntax and both textual and graphical concrete syntaxes.\"},{\"question\":\"Which DSL components and notations are created using the LLM?\",\"answer\":\"The experiment covers the DSL metamodel/abstract syntax and two concrete syntaxes: textual and graphical.\"},{\"question\":\"What do the results suggest about using LLMs to build DSLs?\",\"answer\":\"Results are promising, showing potential for LLM assistance in DSL creation, but they also indicate the LLMs should not be left alone and need guidance for optimal outcomes.\"}]","Exploring the use of large language models indomain-specific language development: an experience report | PDF",25,[145,149,153,157],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/35e0d44d1142acc8317be749c79bda1d.webp",983,1390,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/79a1671a0f40a765b40243ad89be77cc.webp",982,1388,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/68270cc66734501e362bb9ab07684776.webp",981,1387,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/1abf18ad5e0118610a4785f52e04a704.webp",980,1385,{"list":162,"token":11},[163,169,175,182,189,195,201,207,213,219],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":123,"category_name":29,"create_tm":168},655869,"Reimplementing the Structurizr Software Architecture Modelling Language as a Hybrid DSL","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975292588/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178539&Signature=lA008HJsFCL3xBf1UEu%2BYiz654A%3D","reimplementing-the-structurizr-software-architecture-modelling-language-as-a-hybrid-dsl",1792964451,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":101,"category_name":29,"create_tm":174},678097,"Interweaving Graphical and Textual Modelling using GLSP and Langium","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229994560264/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178539&Signature=SEU5JV6iUyQ6oTjdreieGKc4UUg%3D","interweaving-graphical-and-textual-modelling-using-glsp-and-langium",1793784210,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":180,"category_name":29,"create_tm":181},83310,"Agentic Neural Architecture Search","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808962044/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178539&Signature=NUQljntlGleWXTb46Jk3wjDH2y8%3D","agentic-neural-architecture-search",24,1784186662,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":187,"category_name":29,"create_tm":188},327127,"Specific Domain Ontology Construction Using Large Language Models - Abstract","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909304174/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178539&Signature=%2B%2FnAjMKVKLJ%2F4TTB8379pw6gJxQ%3D","specific-domain-ontology-construction-using-large-language-models-abstract",18,1789976489,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":33,"category_name":29,"create_tm":194},694773,"MermaidSeqBench - An Evaluation Benchmark for NL-to-Mermaid Sequence Diagram Generation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230007445386/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178539&Signature=Z2%2BuICc0yM%2FbHG5wQeP79z9yOhE%3D","mermaidseqbench-an-evaluation-benchmark-for-nl-to-mermaid-sequence-diagram-generation",1794347728,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":111,"category_name":29,"create_tm":200},655705,"From UML 2 Sequence Diagrams to State Machines by Graph Transformation - Journal of Object Technology - Volume 10","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974776072/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178539&Signature=UY4Gnx7kpNvr2FuUEhb6CoFHzR4%3D","from-uml-2-sequence-diagrams-to-state-machines-by-graph-transformation-journal-of-object-technology-volume-10",1792963384,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":115,"category_name":29,"create_tm":206},273353,"Library Hallucinations in LLM-Generated Code - A Risk Analysis Grounded in Developer Queries","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899929277/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178539&Signature=7cJsTJ8fZSgOeq5AlUK0TpGO5Pw%3D","library-hallucinations-in-llm-generated-code-a-risk-analysis-grounded-in-developer-queries",1789471019,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":117,"category_name":29,"create_tm":212},273605,"Identifying Implicit Premises for Logical Reconstruction of Argument Graphs - Research paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899553703/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178539&Signature=6iS%2BvH1hiz03sr9epeEDzm%2B8ObU%3D","identifying-implicit-premises-for-logical-reconstruction-of-argument-graphs-research-paper",1789472258,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":106,"category_name":29,"create_tm":218},657842,"A Domain-Specific Language to Process Causal Loop Diagrams - OR2019 - Dresden September 2019","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975780863/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178539&Signature=7oo4GRw8nSogDjrpLOgo8iFMlvE%3D","a-domain-specific-language-to-process-causal-loop-diagrams-or2019-dresden-september-2019",1792991869,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":29,"create_tm":225},124664,"Model Reprogramming - Resource-Efficient Cross-Domain Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229838277803/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796178539&Signature=iDkP7JRsYW6BQZ%2FrCnMPTVMjuHc%3D","model-reprogramming-resource-efficient-cross-domain-machine-learning",22,1785893673]