{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,5]],"date-time":"2026-10-05T20:17:59Z","timestamp":1791231479172,"version":"4.1.0"},"reference-count":63,"publisher":"Springer Science and Business Media LLC","issue":"5","license":[{"start":{"date-parts":[[2024,6,13]],"date-time":"2024-06-13T00:00:00Z","timestamp":1718236800000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2024,6,13]],"date-time":"2024-06-13T00:00:00Z","timestamp":1718236800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100000266","name":"Engineering and Physical Sciences Research Council","doi-asserted-by":"publisher","award":["EP\/T030747\/1"],"award-info":[{"award-number":["EP\/T030747\/1"]}],"id":[{"id":"10.13039\/501100000266","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["SN COMPUT. SCI."],"abstract":"<jats:title>Abstract<\/jats:title><jats:p>In this paper we present an approach for software language processing tasks such as code generation, reverse-engineering and refactoring, based upon text-to-text (T2T) transformations expressed using the<jats:italic>concrete syntax<\/jats:italic>of the source and target software languages. The goal of the approach is to provide simpler and more usable techniques for specifying such tasks, compared to model-to-model (M2M) or model-to-text (M2T) transformation approaches. We evaluate the approach on language processing tasks of domain-specific language (DSL) tool support, software abstraction, model transformation, reverse engineering and program translation, and show that it can be effective for these tasks.<\/jats:p>","DOI":"10.1007\/s42979-024-02979-y","type":"journal-article","created":{"date-parts":[[2024,6,13]],"date-time":"2024-06-13T15:03:15Z","timestamp":1718290995000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["A Concrete Syntax Transformation Approach for Software Language Processing"],"prefix":"10.1007","volume":"5","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9706-1410","authenticated-orcid":false,"given":"Kevin","family":"Lano","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Qiaomu","family":"Xue","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Howard","family":"Haughton","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2024,6,13]]},"reference":[{"key":"2979_CR1","unstructured":"Abrahao S, Bourdeleau F, Cheng B, Kokaly S, Paige R, Stoerrle H, Whittle J. User experience for MDE. In: MODELS 2017; 2017."},{"key":"2979_CR2","unstructured":"Agarwal M, Talamadupula K, Martinez F, Houde S, Muller M, Richards J, Ross SI, Weisz JD. Using document similarity methods to create parallel datasets for code translation. arXiv:2110.05423v1; 2022."},{"key":"2979_CR3","doi-asserted-by":"crossref","unstructured":"Ahmad W, Tushar M, Chakraborty S, Chang K-W. AVATAR: a parallel corpus for Java-Python program translation. arXiv:2108.11590v2; 2023.","DOI":"10.18653\/v1\/2023.findings-acl.143"},{"key":"2979_CR4","doi-asserted-by":"crossref","unstructured":"Alfraihi H, Lano K. The integration of agile development and MDE: a systematic literature review. In: Modelsward 2017; 2017.","DOI":"10.5220\/0006207004510458"},{"key":"2979_CR5","doi-asserted-by":"crossref","unstructured":"Alfraihi H, Lano K. Trends and insights into the use of model-driven engineering: a survey. In: SAM\/MODELS; 2023.","DOI":"10.1109\/MODELS-C59198.2023.00058"},{"key":"2979_CR6","unstructured":"Alwakeel L, Lano K, Alfraihi H. Towards integrating machine learning models into mobile apps using AppCraft. In: AgileMDE workshop, STAF 2023; 2023."},{"key":"2979_CR7","unstructured":"ANTLR. https:\/\/www.antlr.org, accessed 1.12.2023; 2023."},{"key":"2979_CR8","doi-asserted-by":"publisher","first-page":"116","DOI":"10.1016\/j.cl.2015.05.003","volume":"43","author":"G Besova","year":"2015","unstructured":"Besova G, Steenken D, Wehrheim H. Grammar-based model transformations: Definition, execution and quality properties. Computer Languages, Systems & Structures. 2015;43:116\u201338.","journal-title":"Computer Languages, Systems & Structures"},{"key":"2979_CR9","doi-asserted-by":"publisher","first-page":"637","DOI":"10.1086\/260062","volume":"8","author":"F Black","year":"1973","unstructured":"Black F, Scholes M. The pricing of options and corporate liabilities. J Polit Econ. 1973;8:637\u201354.","journal-title":"J Polit Econ"},{"issue":"11\u201312","key":"2979_CR10","doi-asserted-by":"publisher","first-page":"679","DOI":"10.1016\/0950-5849(93)90083-F","volume":"35","author":"JP Bowen","year":"1993","unstructured":"Bowen JP, Breuer P, Lano K. Formal specifications in software maintenance: from code to Z++ and back again. Inf Softw Technol. 1993;35(11\u201312):679\u201390.","journal-title":"Inf Softw Technol"},{"key":"2979_CR11","doi-asserted-by":"crossref","unstructured":"Burgueno L, Cabot J, Gerard S. An LSTM-based neural network architecture for model transformations. In: MODELS \u201919, pages 294\u2013299; 2019a.","DOI":"10.1109\/MODELS.2019.00013"},{"key":"2979_CR12","doi-asserted-by":"crossref","unstructured":"Burgueno L, Cabot J, Gerard S. The future of model transformation languages: an open community discussion. JOT. 2019;18(3).","DOI":"10.5381\/jot.2019.18.3.a7"},{"key":"2979_CR13","doi-asserted-by":"crossref","unstructured":"Burgueno L, Clariso R, Gerard S, Li S, Cabot J. An NLP-based architecture for the autocompletion of partial domain models. In: CAiSE 2021, pages 91\u2013106. Springer; 2021.","DOI":"10.1007\/978-3-030-79382-1_6"},{"key":"2979_CR14","unstructured":"Cabot J. Learning ANTLR \u2013 a software modeling perspective. https:\/\/modeling-languages.com\/learning-antlr-software-modeling\/, accessed Dec. 2023; 2018."},{"key":"2979_CR15","doi-asserted-by":"crossref","unstructured":"Camara J, Troya J, Burgueno L, Vallecillo A. On the assessment of generative AI in modeling tasks. SoSyM. 2023;22.","DOI":"10.1007\/s10270-023-01105-5"},{"key":"2979_CR16","unstructured":"ClearPath Enterprise Servers. COBOL ANSI-85 programming reference manual; 2015."},{"key":"2979_CR17","doi-asserted-by":"crossref","unstructured":"Delp C, et\u00a0al. Mos 2.0 \u2013 modeling the next revolutionary mission operations system. In: 2011 Aerospace Conference. IEEE; 2011.","DOI":"10.1109\/AERO.2011.5747659"},{"key":"2979_CR18","doi-asserted-by":"crossref","unstructured":"Desai A, Gulwani S, Hingorani V, Jain N, Karkare A, Marron M, Sailesh R, Roy S. Program synthesis using natural language. In: ICSE. 2016;2016:345\u201356.","DOI":"10.1145\/2884781.2884786"},{"key":"2979_CR19","unstructured":"Eclipse. ATL user guide. eclipse.org; 2019."},{"key":"2979_CR20","unstructured":"Eclipse Agile UML project. projects.eclipse.org\/projects\/modeling.agileuml, accessed 8.1.2024; 2024."},{"key":"2979_CR21","doi-asserted-by":"crossref","unstructured":"Eliasson U, Heldal R, Lantz J, Berger C. Agile model-driven engineering in mechatronic systems-an industrial case study. In: Model-Driven Engineering Languages and Systems: 17th International Conference, MODELS 2014, Valencia, Spain, September 28\u2013October 3, 2014. Proceedings 17, pages 433\u2013449. Springer; 2014.","DOI":"10.1007\/978-3-319-11653-2_27"},{"key":"2979_CR22","unstructured":"Epsilon project. Epsilon Generation Language, https:\/\/projects.eclipse.org\/projects\/ modeling.epsilon. Accessed 26.3.2024; 2024."},{"key":"2979_CR23","doi-asserted-by":"publisher","first-page":"176","DOI":"10.1016\/j.jss.2014.03.082","volume":"95","author":"T Gorschek","year":"2014","unstructured":"Gorschek T, Tempero E, Angelis L. On the use of software design models in software development practice: an empirical investigation. J Syst Softw. 2014;95:176\u201393.","journal-title":"J Syst Softw"},{"key":"2979_CR24","doi-asserted-by":"crossref","unstructured":"Gronmo R, Moller-Pedersen B, Olsen G. Comparison of three model transformation languages. In: ECMDA-FA 2009, pages 2\u201317. Springer; 2009.","DOI":"10.1007\/978-3-642-02674-4_2"},{"key":"2979_CR25","unstructured":"Haughton H, Tehrani SY, Lano K. MathOCL: a domain-specific language for financial modelling. In: Agile MDE Workshop, STAF 2023; 2023."},{"key":"2979_CR26","doi-asserted-by":"crossref","unstructured":"Hoppner S, Haas Y, Tichy M, Juhnke K. Advantages and disadvantages of (dedicated) model transformation languages. Empirical Software Engineering. 2022;27(159).","DOI":"10.1007\/s10664-022-10194-7"},{"key":"2979_CR27","doi-asserted-by":"crossref","unstructured":"Hutchinson J, Whittle J, Rouncefield M, Kristoffersen S. Empirical assessment of MDE in industry. In: Proceedings of the 33rd international conference on software engineering, pages 471\u2013480; 2011.","DOI":"10.1145\/1985793.1985858"},{"key":"2979_CR28","doi-asserted-by":"publisher","first-page":"713","DOI":"10.1007\/s10270-012-0270-z","volume":"13","author":"JC Izquierdo","year":"2014","unstructured":"Izquierdo JC, Molina JG. Extracting models from source code in software modernization. Software Systems Modelling. 2014;13:713\u201334.","journal-title":"Software Systems Modelling"},{"key":"2979_CR29","unstructured":"Java2Python. https:\/\/github.com\/natural\/java2python; 2021."},{"key":"2979_CR30","volume-title":"The C Programming Language","author":"B Kernighan","year":"1988","unstructured":"Kernighan B, Ritchie D. The C Programming Language. 2nd ed. Prentice Hall; 1988.","edition":"2"},{"key":"2979_CR31","first-page":"537","volume":"14","author":"A Kusel","year":"2015","unstructured":"Kusel A, Schonbock J, Wimmer M, Kappel G, Retschitzegger W, Schwinger W. Reuse in model-to-model transformation languages: are we there yet? SoSym. 2015;14:537\u201372.","journal-title":"SoSym"},{"key":"2979_CR32","unstructured":"Lachaux M-A, Roziere B, Chanussot L, Lample G. Unsupervised translation of programming languages. arXiv:2006.03511v3; 2020."},{"key":"2979_CR33","doi-asserted-by":"publisher","DOI":"10.1201\/9781315368153","volume-title":"Agile model-based development using UML-RSDS","author":"K Lano","year":"2017","unstructured":"Lano K. Agile model-based development using UML-RSDS. CRC Press; 2017."},{"key":"2979_CR34","doi-asserted-by":"crossref","unstructured":"Lano K. Program translation using Model-driven engineering. In: ICSE 2022 Companion Proceedings, pages 362\u2013363; 2022.","DOI":"10.1109\/ICSE-Companion55297.2022.9793785"},{"key":"2979_CR35","unstructured":"Lano K, Alfraihi H, Kolahdouz-Rahimi S, Sharbaf M, Haughton H. Comparative case studies in agile model-driven development. In: FlexMDE 2018, MODELS 2018; 2018."},{"key":"2979_CR36","doi-asserted-by":"crossref","unstructured":"Lano K, Haughton H, Yuan Z, Alfraihi H. Program abstraction and re-engineering: an Agile MDE approach. In: SAM\/MODELS 2023; 2023.","DOI":"10.1109\/MODELS-C59198.2023.00050"},{"key":"2979_CR37","doi-asserted-by":"crossref","unstructured":"Lano K, Kolahdouz-Rahimi S. Implementing QVT-R via semantic interpretation in UML-RSDS. SoSyM; 2021.","DOI":"10.1007\/s10270-020-00824-3"},{"issue":"2","key":"2979_CR38","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3471907","volume":"31","author":"K Lano","year":"2021","unstructured":"Lano K, Kolahdouz-Rahimi S, Fang S. Model Transformation Development using Automated Requirements Analysis, Metamodel Matching and Transformation By-Example. ACM TOSEM. 2021;31(2):1\u201371.","journal-title":"ACM TOSEM"},{"key":"2979_CR39","doi-asserted-by":"crossref","unstructured":"Lano K, Kolahdouz-Rahimi S, Jin K. OCL libraries for software specification and representation. In: OCL 2022, MODELS 2022 Companion Proceedings; 2022.","DOI":"10.1145\/3550356.3561565"},{"issue":"3","key":"2979_CR40","doi-asserted-by":"publisher","first-page":"265","DOI":"10.1023\/A:1008708927260","volume":"6","author":"K Lano","year":"1999","unstructured":"Lano K, Malik N. Mapping procedural patterns to object-oriented design patterns. Autom Softw Eng. 1999;6(3):265\u201389.","journal-title":"Autom Softw Eng"},{"key":"2979_CR41","unstructured":"Lano K, Xue Q. Agile specification of code generators for model-driven engineering. In: 2020 15th International Conference on Software Engineering Advances (ICSEA), pages 9\u201315; 2020."},{"key":"2979_CR42","doi-asserted-by":"crossref","unstructured":"Lano K, Xue Q. Code generation by example. In: Proceedings of the 10th International Conference on Model-Driven Engineering and Software Development (MODELSWARD), pages 84\u201392; 2022.","DOI":"10.5220\/0010973600003119"},{"key":"2979_CR43","doi-asserted-by":"crossref","unstructured":"Lano K, Xue Q. Code generation by example using symbolic machine learning. Springer Nature Computer Science; 2023.","DOI":"10.1007\/s42979-022-01573-4"},{"key":"2979_CR44","doi-asserted-by":"crossref","unstructured":"Lano K, Yassipour-Tehrani S, Alfraihi H, Kolahdouz-Rahimi S. Translating from UML-RSDS OCL to ANSI C. In: OCL 2017, STAF 2017, pages 317\u2013330; 2017.","DOI":"10.1007\/978-3-319-74730-9_28"},{"key":"2979_CR45","doi-asserted-by":"crossref","unstructured":"Lattner C, Adve V. LLVM: A compilation framework for lifelong program analysis and transformation. In: CGO 2004, pages 75\u201386. IEEE; 2004.","DOI":"10.1109\/CGO.2004.1281665"},{"key":"2979_CR46","unstructured":"Liu X, Yang H, Zedan H. Formal methods for the re-engineering of computing systems. In: Compsac \u201897; 1997."},{"key":"2979_CR47","unstructured":"Malyay A, et al. On ML-based program translation: perils and promises. arXiv:2302.10812v1; 2023."},{"key":"2979_CR48","unstructured":"Microsoft Corp. Office VBA Reference. https:\/\/learn.microsoft.com\/en-us\/office\/vba\/api\/overview; 2022."},{"key":"2979_CR49","doi-asserted-by":"publisher","first-page":"1465","DOI":"10.1002\/spe.2477","volume":"47","author":"S Mirachi","year":"2017","unstructured":"Mirachi S, et al. Applying agile methods to aircraft embedded software. Software Practice and Experience. 2017;47:1465\u201384.","journal-title":"Software Practice and Experience"},{"key":"2979_CR50","unstructured":"OMG. Object Constraint Language (OCL) 2.4 Specification; 2014."},{"key":"2979_CR51","unstructured":"OMG. MOF2 Query\/View\/Transformation specification, v1.3; 2016."},{"key":"2979_CR52","doi-asserted-by":"publisher","DOI":"10.1016\/j.cola.2020.100963","volume":"58","author":"M Ozkaya","year":"2020","unstructured":"Ozkaya M, Erata F. Understanding practitioners\u2019 challenges on software modeling: A survey. Journal of Computer Languages. 2020;58: 100963.","journal-title":"Journal of Computer Languages"},{"key":"2979_CR53","unstructured":"Parkin A. COBOL for Students. Edward Arnold; 1982."},{"key":"2979_CR54","unstructured":"Rahimi S, Lano K, Lin C. Requirement formalisation using natural language processing and machine learning: a systematic review. In: MODELSWARD; 2023."},{"key":"2979_CR55","unstructured":"Sanders J. https:\/\/www.techrepublic.com\/article\/jpmorgans-athena-has-35-million-lines-of-python-code-and-wont-be-updated-to-python-3-in-time; 2019."},{"key":"2979_CR56","unstructured":"Segura A, de Lara J, Wimmer M. Modelling assistants based on information reuse. SoSyM; 2023."},{"key":"2979_CR57","doi-asserted-by":"crossref","unstructured":"Umar M, Lano K. Advances in automated support for requirements engineering: a systematic literature review. Requirements Engineering, 2024;1\u201331.","DOI":"10.1007\/s00766-023-00411-0"},{"key":"2979_CR58","first-page":"313","volume":"16","author":"J Whittle","year":"2017","unstructured":"Whittle J, Hutchinson J, Rouncefield M, Burden H, Heldal R. A taxonomy of tool-related issues affecting the adoption of MDE. Sosym. 2017;16:313\u201331.","journal-title":"Sosym"},{"key":"2979_CR59","unstructured":"Xtext. https:\/\/projects.eclipse.org\/projects\/modeling.tmf.xtext; 2022."},{"issue":"1","key":"2979_CR60","first-page":"1","volume":"29","author":"A Zaki-Ismail","year":"2022","unstructured":"Zaki-Ismail A, Osama M, Abdelrazek M, Grundy J, Ibrahim A. RCM-extractor: an automated NLP-based approach for extracting a semi-formal representation model from natural language requirements. AUSE. 2022;29(1):1\u201333.","journal-title":"AUSE"},{"key":"2979_CR61","unstructured":"Zhao L, et al. Natural language processing for requirements engineering: a systematic mapping study. ACM Computing Surveys; 2020."},{"key":"2979_CR62","unstructured":"Zhao W, et al. A survey of large language models. arXiv:2303.18223v10; 2023."},{"key":"2979_CR63","doi-asserted-by":"crossref","unstructured":"Zucker J, D\u2018Leeuwen M. Arbiter: a domain-specific language for ethical machine learning. In: AIES \u201820; 2020.","DOI":"10.1145\/3375627.3375858"}],"container-title":["SN Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s42979-024-02979-y.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s42979-024-02979-y\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s42979-024-02979-y.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,11,21]],"date-time":"2024-11-21T20:10:54Z","timestamp":1732219854000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s42979-024-02979-y"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,6,13]]},"references-count":63,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2024,6]]}},"alternative-id":["2979"],"URL":"https:\/\/doi.org\/10.1007\/s42979-024-02979-y","relation":{},"ISSN":["2661-8907"],"issn-type":[{"value":"2661-8907","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,6,13]]},"assertion":[{"value":"17 May 2023","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"2 May 2024","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"13 June 2024","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors confirm that there are no conflict of interest.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Conflict of interest"}}],"article-number":"645"}}