Title
DeepFJig: modular composition of nested classes
Abstract
We present a new language design which smoothly integrates modular composition and nesting of Java-like classes. That is, inheritance has been replaced by an expressive set of composition operators, inspired by Bracha's Jigsaw framework, and these operators allow to manipulate (e.g., rename or duplicate) a nested class at any level of depth. Typing is nominal as characteristic of Java-like languages, so types are paths of the form outern. c1..... ck which, depending on the class (node) where they occur, denote another node in the nesting tree. However, paths denoting the same class are not equivalent, since they behave differently w.r.t. composition operators. The resulting language, called DeepFJig, obtains a great expressive power, allowing, e.g., to solve the expression problem, encode basic AOP mechanisms, and bring some refactoring techniques at the language level, while keeping a very simple semantics and type system which represent a natural extension for, say, a Java programmer.
Year
DOI
Venue
2012
10.1145/2093157.2093172
Journal of Object Technology
Keywords
DocType
Volume
resulting language,modular composition,language level,nested class,java-like language,composition operator,great expressive power,expressive set,new language design,java-like class,type system,expressive power,java
Journal
11
Issue
ISSN
Citations 
2
1660-1769
3
PageRank 
References 
Authors
0.38
23
3
Name
Order
Citations
PageRank
Andrea Corradi1151.05
Marco Servetto26111.51
Elena Zucca3497101.25