Abstract
This paper introduces Collaboro, a specialized Domain-Specific Language (DSL) and toolset designed to democratize the development of modeling languages. By facilitating a community-driven process where both developers and domain experts can propose, discuss, and vote on language changes, Collaboro ensures that resulting DSLs are closely aligned with user needs while maintaining full traceability of design decisions.
Introduction: The Gap in DSL Development
Domain-Specific Languages (DSLs) are intended to bridge the communication gap between technical developers and domain experts, such as factory managers or insurance agents, by employing vocabulary specific to their fields. However, the authors argue that the current process of building these languages remains developer-centric.
In traditional workflows, domain experts are typically consulted only during the initial requirements gathering phase. They often do not interact with the actual language until the final deployment. If a misunderstanding occurs during the design phase, correcting it requires restarting the entire development cycle—a costly "big bang" validation approach. The proposed community-driven process aims to move validation to every stage of the lifecycle, as shown in Figure 4.
Methodology: The Collaboro Framework
The authors introduce Collaboro, a "meta-DSL" designed to manage both the social and technical aspects of language evolution. Its architecture consists of several core components:
- The Collaboro Metamodel: This structures the collaboration process by tracking Proposals (suggested changes), Solutions (implementation details), Comments (discussions), and Votes (community consensus).
- Model Change Tracking: Social interactions are explicitly linked to technical operations (e.g.,
Add,Update,Delete) on the target language's metamodel. - Decision Engine: A rule-based system using graph transformations that automatically processes community input. For instance, unanimous positive votes can trigger the automatic acceptance and implementation of a change.
- Eclipse Integration: Implemented as an Eclipse plugin using the Eclipse Modeling Framework (EMF), the tool allows users to manage language evolution within a standard development environment.
Case Study: Production System DSL
To evaluate the approach, the authors use a running example involving a Production System DSL. In this scenario, a "Chief Production Officer" (domain expert) and a "Developer" collaborate to refine the language.
As illustrated in Figure 5, the language evolves from a simple model where a conveyor's condition is a generic string (a) to a more robust version where it is represented by an enumerated type (b). This change reflects the domain expert's need for more precise categorization (SUPERB, GOOD, FINE, OLD) which was refined through community discussion.
Key Insights
- Traceability of Intent: Unlike standard version control, Collaboro records why a change was made by linking the final metamodel state to the specific discussion threads and votes that prompted it.
- Democratic Design: By lowering technical barriers, domain experts can suggest changes using their own vocabulary, ensuring the language remains faithful to the domain.
- Social Metamodeling: The human side of software engineering—comments and votes—is treated as a first-class model, making the design process queryable and automatable.
- Continuous Validation: Requiring user agreement at the design and implementation phases allows teams to catch conceptual errors early, before they are integrated into the codebase.
Results and Future Work
The functional prototype of the Collaboro Eclipse plugin demonstrates that the system can represent complex multi-user interactions and correctly transition proposals based on voting rules. It maintains a synchronized view between collaborative discussions and the technical metamodel.
Future work will focus on expanding the tool's scope to include collaborative changes to concrete syntax (visual or textual notation) and semantics. The authors also plan to explore more complex decision-resolution algorithms and "change by example" features, where users can suggest updates by providing example models of their desired scenarios.
Summary updated