DeepRuby: Extending Ruby with Dual Deep Instantiation
Sprache des Vortragstitels:
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
Sprache des Tagungstitel:
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