Supporting meta-model-based language evolution and rapid prototyping with automated grammar transformation

Saved in:
Bibliographic Details
Title: Supporting meta-model-based language evolution and rapid prototyping with automated grammar transformation
Authors: Zhang, Weixing, 1987, Holtmann, Jörg, 1979, Strüber, Daniel, 1986, Hebig, R., Steghöfer, Jan-Philipp, 1983
Source: Journal of Systems and Software. 214
Subject Terms: Language prototyping, Language evolution, Domain-specific languages, DSL, Xtext, Grammar
Description: In model-driven engineering, developing a textual domain-specific language (DSL) involves constructing a meta-model, which defines an underlying abstract syntax, and a grammar, which defines the concrete syntax for the DSL. We consider a scenario in which the meta-model is manually maintained, which is common in various contexts, such as blended modeling, in which several concrete syntaxes co-exist in parallel. Language workbenches such as Xtext support such a scenario, but require the grammar to be manually co-evolved, which is laborious and error-prone. In this paper, we present GRAMMARTRANSFORMER, an approach for transforming generated grammars in the context of meta-model-based language evolution. To reduce the effort for language engineers during rapid prototyping and language evolution, it offers a catalog of configurable grammar transformation rules. Once configured, these rules can be automatically applied and re-applied after future evolution steps, greatly reducing redundant manual effort. In addition, some of the supported transformations can globally change the style of concrete syntax elements, further significantly reducing the effort for manual transformations. The grammar transformation rules were extracted from a comparison of generated and existing, expert-created grammars, based on seven available DSLs. An evaluation based on the seven languages shows GRAMMARTRANSFORMER's ability to modify Xtext-generated grammars in a way that agrees with manual changes performed by an expert and to support language evolution in an efficient way, with only a minimal need to change existing configurations over time.
File Description: electronic
Access URL: https://research.chalmers.se/publication/538340
https://research.chalmers.se/publication/541106
https://research.chalmers.se/publication/541106/file/541106_Fulltext.pdf
Database: SwePub
FullText Text:
  Availability: 0
CustomLinks:
  – Url: https://research.chalmers.se/publication/538340#
    Name: EDS - SwePub (s4221598)
    Category: fullText
    Text: View record in SwePub
  – Url: https://resolver.ebscohost.com/openurl?sid=EBSCO:edsswe&genre=article&issn=01641212&ISBN=&volume=214&issue=&date=20240101&spage=&pages=&title=Journal of Systems and Software&atitle=Supporting%20meta-model-based%20language%20evolution%20and%20rapid%20prototyping%20with%20automated%20grammar%20transformation&aulast=Zhang%2C%20Weixing&id=DOI:10.2139/ssrn.4379232
    Name: Full Text Finder
    Category: fullText
    Text: Full Text Finder
    Icon: https://imageserver.ebscohost.com/branding/images/FTF.gif
    MouseOverText: Full Text Finder
  – Url: https://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=EBSCO&SrcAuth=EBSCO&DestApp=WOS&ServiceName=TransferToWoS&DestLinkType=GeneralSearchSummary&Func=Links&author=Zhang%20W
    Name: ISI
    Category: fullText
    Text: Nájsť tento článok vo Web of Science
    Icon: https://imagesrvr.epnet.com/ls/20docs.gif
    MouseOverText: Nájsť tento článok vo Web of Science
Header DbId: edsswe
DbLabel: SwePub
An: edsswe.oai.research.chalmers.se.f62db121.cbc5.4207.bba9.da9e8acb3e98
RelevancyScore: 1014
AccessLevel: 6
PubType: Academic Journal
PubTypeId: academicJournal
PreciseRelevancyScore: 1014.41540527344
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: Supporting meta-model-based language evolution and rapid prototyping with automated grammar transformation
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Zhang%2C+Weixing%22">Zhang, Weixing</searchLink>, 1987<br /><searchLink fieldCode="AR" term="%22Holtmann%2C+Jörg%22">Holtmann, Jörg</searchLink>, 1979<br /><searchLink fieldCode="AR" term="%22Strüber%2C+Daniel%22">Strüber, Daniel</searchLink>, 1986<br /><searchLink fieldCode="AR" term="%22Hebig%2C+R%2E%22">Hebig, R.</searchLink><br /><searchLink fieldCode="AR" term="%22Steghöfer%2C+Jan-Philipp%22">Steghöfer, Jan-Philipp</searchLink>, 1983
– Name: TitleSource
  Label: Source
  Group: Src
  Data: <i>Journal of Systems and Software</i>. 214
– Name: Subject
  Label: Subject Terms
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22Language+prototyping%22">Language prototyping</searchLink><br /><searchLink fieldCode="DE" term="%22Language+evolution%22">Language evolution</searchLink><br /><searchLink fieldCode="DE" term="%22Domain-specific+languages%22">Domain-specific languages</searchLink><br /><searchLink fieldCode="DE" term="%22DSL%22">DSL</searchLink><br /><searchLink fieldCode="DE" term="%22Xtext%22">Xtext</searchLink><br /><searchLink fieldCode="DE" term="%22Grammar%22">Grammar</searchLink>
– Name: Abstract
  Label: Description
  Group: Ab
  Data: In model-driven engineering, developing a textual domain-specific language (DSL) involves constructing a meta-model, which defines an underlying abstract syntax, and a grammar, which defines the concrete syntax for the DSL. We consider a scenario in which the meta-model is manually maintained, which is common in various contexts, such as blended modeling, in which several concrete syntaxes co-exist in parallel. Language workbenches such as Xtext support such a scenario, but require the grammar to be manually co-evolved, which is laborious and error-prone. In this paper, we present GRAMMARTRANSFORMER, an approach for transforming generated grammars in the context of meta-model-based language evolution. To reduce the effort for language engineers during rapid prototyping and language evolution, it offers a catalog of configurable grammar transformation rules. Once configured, these rules can be automatically applied and re-applied after future evolution steps, greatly reducing redundant manual effort. In addition, some of the supported transformations can globally change the style of concrete syntax elements, further significantly reducing the effort for manual transformations. The grammar transformation rules were extracted from a comparison of generated and existing, expert-created grammars, based on seven available DSLs. An evaluation based on the seven languages shows GRAMMARTRANSFORMER's ability to modify Xtext-generated grammars in a way that agrees with manual changes performed by an expert and to support language evolution in an efficient way, with only a minimal need to change existing configurations over time.
– Name: Format
  Label: File Description
  Group: SrcInfo
  Data: electronic
– Name: URL
  Label: Access URL
  Group: URL
  Data: <link linkTarget="URL" linkTerm="https://research.chalmers.se/publication/538340" linkWindow="_blank">https://research.chalmers.se/publication/538340</link><br /><link linkTarget="URL" linkTerm="https://research.chalmers.se/publication/541106" linkWindow="_blank">https://research.chalmers.se/publication/541106</link><br /><link linkTarget="URL" linkTerm="https://research.chalmers.se/publication/541106/file/541106_Fulltext.pdf" linkWindow="_blank">https://research.chalmers.se/publication/541106/file/541106_Fulltext.pdf</link>
PLink https://erproxy.cvtisr.sk/sfx/access?url=https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=edsswe&AN=edsswe.oai.research.chalmers.se.f62db121.cbc5.4207.bba9.da9e8acb3e98
RecordInfo BibRecord:
  BibEntity:
    Identifiers:
      – Type: doi
        Value: 10.2139/ssrn.4379232
    Languages:
      – Text: English
    Subjects:
      – SubjectFull: Language prototyping
        Type: general
      – SubjectFull: Language evolution
        Type: general
      – SubjectFull: Domain-specific languages
        Type: general
      – SubjectFull: DSL
        Type: general
      – SubjectFull: Xtext
        Type: general
      – SubjectFull: Grammar
        Type: general
    Titles:
      – TitleFull: Supporting meta-model-based language evolution and rapid prototyping with automated grammar transformation
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Zhang, Weixing
      – PersonEntity:
          Name:
            NameFull: Holtmann, Jörg
      – PersonEntity:
          Name:
            NameFull: Strüber, Daniel
      – PersonEntity:
          Name:
            NameFull: Hebig, R.
      – PersonEntity:
          Name:
            NameFull: Steghöfer, Jan-Philipp
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 01
              M: 01
              Type: published
              Y: 2024
          Identifiers:
            – Type: issn-print
              Value: 01641212
            – Type: issn-locals
              Value: SWEPUB_FREE
            – Type: issn-locals
              Value: CTH_SWEPUB
          Numbering:
            – Type: volume
              Value: 214
          Titles:
            – TitleFull: Journal of Systems and Software
              Type: main
ResultId 1