Skoči na glavni sadržaj

Izvorni znanstveni članak

https://doi.org/10.2498/cit.2002.01.01

Domain-Specific Language Design Requires Feature Descriptions

Arie van Deursen
Paul Klint


Puni tekst: engleski pdf 256 Kb

str. 1-17

preuzimanja: 6.297

citiraj


Sažetak

A domain-specific language (DSL) provides a notation tailored towards an application domain and is based on the relevant concepts and features of that domain. As such, a DSL is a means to describe and generate members of a family of programs in the domain.

A prerequisite for the design of a DSL is a detailed analysis and structuring of the application domain. Graphical feature diagrams have been proposed to organize the dependencies between such features, and to indicate which ones are common to all family members and which ones vary.

In this paper, we study feature diagrams in more details, as well as their relationship to domain-specific languages. We propose the Feature Description Language (FDL), a textual language to describe features. We explore automated manipulation of feature descriptions such as normalization, expansion to disjunctive normal form, variability computation and constraint satisfaction. Feature descriptions can be directly mapped to UML diagrams which in their turn can be used for Java code generation. The value of FDL is assessed via a case study in the use and expressiveness of feature descriptions for the area of documentation generators.

Ključne riječi

Hrčak ID:

44793

URI

https://hrcak.srce.hr/44793

Datum izdavanja:

30.3.2002.

Posjeta: 9.587 *