Sciweavers

AOSD
2016
ACM

Matriona: class nesting with parameterization in Squeak/Smalltalk

8 years 28 days ago
Matriona: class nesting with parameterization in Squeak/Smalltalk
We present Matriona, a module system for Squeak, a Smalltalk dialect. It supports class nesting and parameterization and is based on a hierarchical name lookup mechanism. Matriona solves a range of modularity issues in Squeak. Instead of a flat class organization, it provides a hierarchical namespace, that avoids name clashes and allows for shorter local names. Furthermore, it provides a way to share behavior among classes and modules using mixins and class hierarchy inheritance (a form of inheritance that subclasses an entire class family), respectively. Finally, it allows modules to be externally configurable, which is a form of dependency management decoupling a module from the actual implementation of its dependencies. Matriona is implemented on top of Squeak by introducing a new keyword for run-time name lookups through a reflective mechanism, without modifying the underlying virtual machine. We evaluate Matriona with a series of small applications and will demonstrate how its...
Matthias Springer, Fabio Niephaus, Robert Hirschfe
Added 29 Mar 2016
Updated 29 Mar 2016
Type Journal
Year 2016
Where AOSD
Authors Matthias Springer, Fabio Niephaus, Robert Hirschfeld, Hidehiko Masuhara
Comments (0)