NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Quest for Better Languages: Usage Patterns to the Rescue

Jordi CabotPAME@STAF 2015

Introduction

Domain-Specific Modeling Languages (DSMLs) are essential tools for bridging the gap between technical language developers and domain experts in specialized fields like aerospace, insurance, or healthcare. However, these languages often suffer from the "Ivory Tower" problem: they are designed based on developer assumptions rather than actual user needs. This misalignment leads to languages that are overly complex or missing critical features, forcing users to "hack" or "twist" the syntax to achieve their goals. This paper proposes a three-phase, iterative design process that treats actual language usage data as a first-class citizen to evolve languages more effectively.

A Three-Phase Methodology for Language Design

To address the design-usage gap, we propose a pattern-based language definition process that treats usage data as a primary driver for evolution. This process unfolds in three distinct phases, moving from developer-led initialization to data-driven recommendation.

The three-phase process for language definition, moving from initial developer design to automated usage analysis.
  1. Phase 1 (Initial Design): Developers create a preliminary version of the language (Abstract and Concrete Syntax) based on initial requirements.
  2. Phase 2 (Collaborative Refinement): A small group of domain experts helps shape the notation and concepts before the language is released to a wider audience.
  3. Phase 3 (Usage Analysis): Once the language is deployed, developers collect a "corpus" of models created by users. A "Language Analyzer" then applies specific analysis techniques to this data to recommend improvements.

Data-Driven Refinement Techniques

The novelty of this approach lies in Phase 3, where specific analysis techniques are applied to the model corpus to identify "bottom-up" patterns:

  • Instance Analysis: Identifying which language elements are used frequently and which are ignored. If 30% of features are never used, they should be removed to reduce cognitive load.
  • Relationship Analysis: Finding clusters of elements that almost always appear together, suggesting they could be simplified into a single concept or separated into distinct sublanguages.
  • Clone Analysis: Detecting when users repeatedly build the same complex structures, which indicates a missing "primitive" or shortcut in the language.

The Iterative Lifecycle of Language Evolution

Language design should not be a static, one-off event. Instead, it must be a continuous cycle. When users find a language insufficient, they don't stop working; they adapt the existing syntax. These adaptations are not errors—they are the most valuable data points for a language designer.

The iterative lifecycle of language evolution based on usage patterns.

By following this iterative loop—letting people use the language, uncovering usage patterns, and proposing modifications—developers can ensure the language evolves alongside the domain and the users' proficiency. This moves language engineering away from anecdotal feedback and toward a data-driven framework.

Conclusion and Future Directions

While this paper provides a qualitative framework for improvement, several hurdles remain. Current identification of patterns and subsequent refactoring is a manual, labor-intensive task. Future work aims to automate this process, creating systems that can analyze a corpus of models and automatically suggest refactorings. By adopting this methodology, the resulting DSMLs will be more "natural" for experts to use and significantly easier for novices to learn.

Summary updated

BibTeX
@inproceedings{cabot2015quest,
  author = {Jordi Cabot},
  title = {{The Quest for Better Languages: Usage Patterns to the Rescue}},
  booktitle = {PAME@STAF},
  year = {2015},
  url = {https://openreview.net/forum?id=vMGvUJM7rF},
}
Figure