• English
  • Deutsch
  • Log In
    Password Login
    Research Outputs
    Fundings & Projects
    Researchers
    Institutes
    Statistics
Repository logo
Fraunhofer-Gesellschaft
  1. Home
  2. Fraunhofer-Gesellschaft
  3. Konferenzschrift
  4. Compositional language engineering using generated, extensible, static type-safe visitors
 
  • Details
  • Full
Options
2016
Conference Paper
Title

Compositional language engineering using generated, extensible, static type-safe visitors

Abstract
Language workbenches usually produce infrastructure to represent models as abstract syntax trees (AST) and employ processing infrastructure largely based on visitors. The visitor pattern suffers from the expression problem regarding extensibility and reuse. Current approaches either forsake static type safety, require features unavailable in popular object-oriented languages (e.g., open classes), or rely on procedural abstraction and thereby give up the object-oriented data encapsulation (the AST) itself. Our approach to visitors exploits knowledge about the AST and generation of statically type-safe external visitor interfaces that support extensibility in two dimensions: (1) defining new operations by implementing the interface and (2) extending the underlying data structure, usually without requiring adaptation of existing implemented visitors.
Author(s)
Heim, R.
Mir Seyed Nazari, P.
Rumpe, B.
Wortmann, A.
Mainwork
Modelling foundations and applications. 12th European Conference, ECMFA 2016  
Conference
European Conference on Modelling Foundations and Applications (ECMFA) 2016  
Conference "Software Technologies - Application and Foundations" (STAF) 2016  
DOI
10.1007/978-3-319-42061-5_5
Language
English
Fraunhofer-Institut für Angewandte Informationstechnik FIT  
  • Cookie settings
  • Imprint
  • Privacy policy
  • Api
  • Contact
© 2024