On Concept-Based Definition of Domain-Specific Languages

  • Authors:
  • Ying Liu;Naixiao Zhang

  • Affiliations:
  • -;-

  • Venue:
  • ICFEM '02 Proceedings of the 4th International Conference on Formal Engineering Methods: Formal Methods and Software Engineering
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper provides a new method of developing domain-specific languages (DSLs). A DSL is composed of concepts, including common language concepts and domain concepts. From the functionality point of view, concepts can be divided into two kinds: element concepts and complement concepts. Element concepts capture the basic functions of a DSL, and complement concepts define some auxiliary functions for a DSL. Because extended attribute grammar and evolving algebra are used to specify the semantics of element concepts, the descriptions are formal, yet easily understood. Transformation rules are used to specify the semantics of complement concepts. In order to improve the reusability, element and complement concepts are defined at a high abstract level, and they are defined as some independent components. The definition of a new DSL follows two steps: defining element and complement concepts separately; instantiating concepts and assembling them. Based on the above idea, a DSLs development language (DD) is defined.