A Catalog of Design Patterns for Compositional Language Engineering

被引:9
|
作者
Drux, Florian [1 ]
Jansen, Nico [1 ]
Rumpe, Bernhard [1 ]
机构
[1] Rhein Westfal TH Aachen, Software Engn, Aachen, Germany
来源
JOURNAL OF OBJECT TECHNOLOGY | 2022年 / 21卷 / 04期
关键词
Software Language Engineering; Language Composition; Design Patterns;
D O I
10.5381/jot.2022.21.4.a4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
When composing a domain-specific language from several language components, it is also necessary to compose analysis and synthesis techniques, which are individually defined on these components in an efficient, ideally black-box form. An effective way of allowing such compositions is to use specific design patterns, which are partly reflected in the tooling code, partly reflected in the language, but also partly reflected in the language workbench (one meta-level higher), and the generated/synthesized product code (one meta-level downward). Based on the experiences gained in compositional language development using the language workbench MontiCore, we in detail discuss several of those design patterns, namely the Mill, the RealThis object composition, the Template/Hook, and the TOP- Generator Patterns, and the hidden complexity of an extended visitor infrastructure coping with the above patterns. The patterns are recorded and described in a reusable way, as usual, allowing readers to participate from the gained insights and possible solutions.
引用
收藏
页数:13
相关论文
共 50 条
  • [31] Formalization of a language for the construction of design patterns for learning
    Buitrago, Ruben
    Salinas, Jesus
    Boude, Oscar
    KNOWLEDGE MANAGEMENT & E-LEARNING-AN INTERNATIONAL JOURNAL, 2024, 16 (03)
  • [32] TRACKING PRODUCTIVITY PATTERNS IN AN ENGINEERING DESIGN PROJECT
    Berglund, Anders
    Blackne, Johannes
    Jansson, Niklas
    Ritzen, Sofia
    DESIGN FOR HARMONIES, VOL 8: DESIGN EDUCATION, 2013,
  • [33] Integrating design patterns into forward engineering processes
    Martinez, L
    Favre, L
    Pereira, C
    INNOVATIONS THROUGH INFORMATION TECHNOLOGY, VOLS 1 AND 2, 2004, : 502 - 505
  • [34] Situation, Patterns, Exploration, and Exploitation in Engineering Design
    McMahon, Chris
    SHE JI-THE JOURNAL OF DESIGN ECONOMICS AND INNOVATION, 2021, 7 (01) : 71 - 94
  • [35] Good Language in the Shared Catalog
    Jansen, Bente By
    TIDSSKRIFT FOR DEN NORSKE LAEGEFORENING, 2024, 144 (11)
  • [36] Review of compositional and microstructural design, process innovation and performance optimization for engineering materials
    Wang, Xiaotian
    Hsi-An Chiao Tung Ta Hsueh/Journal of Xi'an Jiaotong University, 1994, 28 (07): : 1 - 8
  • [37] Design considerations for a hierarchical semantic compositional framework for medical natural language understanding
    Taira, Ricky K.
    Garlid, Anders O.
    Speier, William
    PLOS ONE, 2023, 18 (03):
  • [38] Catalog of Grammar Refactoring Patterns
    Halupka, Ivan
    Kollar, Jan
    INFORMATICS 2013: PROCEEDINGS OF THE TWELFTH INTERNATIONAL CONFERENCE ON INFORMATICS, 2013, : 116 - 121
  • [39] Catalog of grammar refactoring patterns
    Halupka, Ivan
    Kollar, Jan
    OPEN COMPUTER SCIENCE, 2014, 4 (04) : 231 - 241
  • [40] Opportunities for large language models and discourse in engineering design
    Goepfert, Jan
    Weinand, Jann M.
    Kuckertz, Patrick
    Stolten, Detlef
    ENERGY AND AI, 2024, 17