In feature-oriented software product lines, two complementary approaches to implement features exist: compositional and annotative ones. To combine the respective advantages, a unified representation of the two on the file-system level is desirable, yet unavailable. We pick up this demand and propose a novel concept for separating features using colored snippet graphs instead of directories and files. In particular, our proposed ideas are based on snippets, ASTs and coloring, and enable the implementation of product lines with both compositional and annotative views on real documents. As a basis for future tools, we provide a conceptual overview of our approach, discuss our ideas for leveraging snippets, and demonstrate applicability using an example scenario.
Compositional and annotative approaches are two competing yet complementary candidates for implementing featureoriented software product lines. While the former provides real modularity, the latter excels concerning expressiveness. To combine the respective advantages of compositional and annotative approaches, we aim at unifying their underlying representations by leveraging the snippet system instead of directories and files. In addition, to exploit this unification, we propose different editable views.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.