DeepRuby: Extending Ruby with Dual Deep Instantiation
- Autoren
- B. Neumayr, C. Schütz, C. Horner, M. Schrefl
- Paper
- Neum17a (2017)
- Zitat
Proceedings of the 4th International Workshop on Multi-Level Modelling (MULTI 2017), co-located with the ACM/IEEE 20th International Conference on Model Driven Engineering Languages and Systems (MODELS 2017), MODELS (Satellite Events), September 17-22, 2017, Austin, Texas, USA, CEUR Workshop Proceedings, Vol. 2019, Online: http://ceur-ws.org/Vol-2019/multi_7.pdf, open Access, peer reviewed, pp. 252-260, 2017. - Ressourcen
- Kopie (Senden Sie ein Email mit Neum17a als Betreff an dke.win@jku.at um diese Kopie zu erhalten)
Kurzfassung (Englisch)
Clabjects, the central construct of multi-level modeling, overcome the strict separation of class and object in conceptual modeling. Ruby, a dynamic object-oriented programming language, similarly treats classes as objects and thus appears as a natural candidate for implementing clabject-based modeling constructs. In this paper we introduce DeepRuby, a Ruby implementation of the core constructs of Dual Deep Instantiation: clabject hierarchies and attributes with separate source potency and target potency. DeepRuby represents clabjects at two layers: the clabject layer and the clabject facet layer. At the clabject facet layer, a clabject with maximum source potency i-1 and maximum target potency j-1 is represented by a matrix of i × j clabject facets organized using Ruby’s superclass and eigenclass constructs. Clabject facets can easily be extended with behaviour implemented in custom methods.
Keywords: Multilevel Modeling, Deep Metamodeling, Programming Languages, Ruby, Object-oriented Programming