loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Authors: Weixing Zhang 1 ; Regina Hebig 1 ; Jan-Philipp Steghöfer 2 and Jörg Holtmann 1

Affiliations: 1 Department of Computer Engineering, Chalmers University of Technology, University of Gothenburg, Sweden ; 2 Xitaso IT & Software Solutions GmbH, Augsburg, Germany

Keyword(s): DSL, Xtext, Textual Modeling, Grammar, Language Engineering.

Abstract: Xtext is a well-known domain-specific language design framework and technology. It automatically generates a textual grammar for a language, given a meta-model specified in Ecore. These generated textual grammars are typically not user-friendly. Python-style languages are popular among developers for their usability and conciseness. We aim to propose a systematic approach to transform a DSL with a generated grammar into a Python-style DSL. To achieve this, we analyze the problems of grammars generated with Xtext, based on a lightweight architecture description language. In response to these problems, we propose a general semi-automated grammar adaptation approach. We apply the approach to two other DSLs to validate the generalization of the approach. We also discuss the limitations of this approach and prospects for the future.

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 18.190.219.65

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Zhang, W.; Hebig, R.; Steghöfer, J. and Holtmann, J. (2023). Creating Python-Style Domain Specific Languages: A Semi-Automated Approach and Intermediate Results. In Proceedings of the 11th International Conference on Model-Based Software and Systems Engineering - MODELSWARD; ISBN 978-989-758-633-0; ISSN 2184-4348, SciTePress, pages 210-217. DOI: 10.5220/0011744900003402

@conference{modelsward23,
author={Weixing Zhang. and Regina Hebig. and Jan{-}Philipp Steghöfer. and Jörg Holtmann.},
title={Creating Python-Style Domain Specific Languages: A Semi-Automated Approach and Intermediate Results},
booktitle={Proceedings of the 11th International Conference on Model-Based Software and Systems Engineering - MODELSWARD},
year={2023},
pages={210-217},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0011744900003402},
isbn={978-989-758-633-0},
issn={2184-4348},
}

TY - CONF

JO - Proceedings of the 11th International Conference on Model-Based Software and Systems Engineering - MODELSWARD
TI - Creating Python-Style Domain Specific Languages: A Semi-Automated Approach and Intermediate Results
SN - 978-989-758-633-0
IS - 2184-4348
AU - Zhang, W.
AU - Hebig, R.
AU - Steghöfer, J.
AU - Holtmann, J.
PY - 2023
SP - 210
EP - 217
DO - 10.5220/0011744900003402
PB - SciTePress